01: /*
02: * LICENSE INFORMATION
03: * Copyright 2005-2007 by FZI (http://www.fzi.de).
04: * Licensed under a BSD license (http://www.opensource.org/licenses/bsd-license.php)
05: * <OWNER> = Max Völkel
06: * <ORGANIZATION> = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe, Germany
07: * <YEAR> = 2007
08: *
09: * Project information at http://semweb4j.org/rdf2go
10: * Created on Nov 29, 2004
11: *
12: */
13: package org.ontoware.rdf2go.vocabulary;
14:
15: import org.ontoware.rdf2go.model.node.URI;
16: import org.ontoware.rdf2go.model.node.impl.URIImpl;
17:
18: /**
19: * The RDF vocabulary as URIs
20: * @author mvo
21: *
22: */
23: public class RDF {
24:
25: /**
26: * The RDF Namespace
27: */
28: public static final String RDF_NS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
29:
30: protected static final URI toURI(String local) {
31: return new URIImpl(RDF_NS + local, false);
32: }
33:
34: public static URI li(int i) {
35: return toURI(RDF_NS + "_" + i);
36: }
37:
38: public static final URI Alt = toURI("Alt");
39:
40: /** http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag */
41: public static final URI Bag = toURI("Bag");
42:
43: public static final URI Property = toURI("Property");
44:
45: public static final URI Seq = toURI("Seq");
46:
47: public static final URI Statement = toURI("Statement");
48:
49: public static final URI List = toURI("List");
50:
51: public static final URI nil = toURI("nil");
52:
53: public static final URI first = toURI("first");
54:
55: public static final URI rest = toURI("rest");
56:
57: public static final URI subject = toURI("subject");
58:
59: public static final URI predicate = toURI("predicate");
60:
61: public static final URI object = toURI("object");
62:
63: public static final URI type = toURI("type");
64:
65: public static final URI value = toURI("value");
66:
67: // literals
68: public static final URI XMLLiteral = toURI("XMLLiteral");
69:
70: }
|