01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.model.vocabulary;
07:
08: import org.openrdf.model.URI;
09: import org.openrdf.model.ValueFactory;
10: import org.openrdf.model.impl.ValueFactoryImpl;
11:
12: /**
13: * Constants for RDF Schema primitives and for the RDF Schema namespace.
14: */
15: public class RDFS {
16:
17: /** http://www.w3.org/2000/01/rdf-schema# */
18: public static final String NAMESPACE = "http://www.w3.org/2000/01/rdf-schema#";
19:
20: /** http://www.w3.org/2000/01/rdf-schema#Resource */
21: public final static URI RESOURCE;
22:
23: /** http://www.w3.org/2000/01/rdf-schema#Literal */
24: public final static URI LITERAL;
25:
26: /** http://www.w3.org/2000/01/rdf-schema#Class */
27: public final static URI CLASS;
28:
29: /** http://www.w3.org/2000/01/rdf-schema#subClassOf */
30: public final static URI SUBCLASSOF;
31:
32: /** http://www.w3.org/2000/01/rdf-schema#subPropertyOf */
33: public final static URI SUBPROPERTYOF;
34:
35: /** http://www.w3.org/2000/01/rdf-schema#domain */
36: public final static URI DOMAIN;
37:
38: /** http://www.w3.org/2000/01/rdf-schema#range */
39: public final static URI RANGE;
40:
41: /** http://www.w3.org/2000/01/rdf-schema#comment */
42: public final static URI COMMENT;
43:
44: /** http://www.w3.org/2000/01/rdf-schema#label */
45: public final static URI LABEL;
46:
47: /** http://www.w3.org/2000/01/rdf-schema#Datatype */
48: public final static URI DATATYPE;
49:
50: /** http://www.w3.org/2000/01/rdf-schema#Container */
51: public final static URI CONTAINER;
52:
53: /** http://www.w3.org/2000/01/rdf-schema#member */
54: public final static URI MEMBER;
55:
56: /** http://www.w3.org/2000/01/rdf-schema#isDefinedBy */
57: public final static URI ISDEFINEDBY;
58:
59: /** http://www.w3.org/2000/01/rdf-schema#seeAlso */
60: public final static URI SEEALSO;
61:
62: /** http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty */
63: public final static URI CONTAINERMEMBERSHIPPROPERTY;
64:
65: static {
66: ValueFactory factory = ValueFactoryImpl.getInstance();
67: RESOURCE = factory.createURI(RDFS.NAMESPACE, "Resource");
68: LITERAL = factory.createURI(RDFS.NAMESPACE, "Literal");
69: CLASS = factory.createURI(RDFS.NAMESPACE, "Class");
70: SUBCLASSOF = factory.createURI(RDFS.NAMESPACE, "subClassOf");
71: SUBPROPERTYOF = factory.createURI(RDFS.NAMESPACE,
72: "subPropertyOf");
73: DOMAIN = factory.createURI(RDFS.NAMESPACE, "domain");
74: RANGE = factory.createURI(RDFS.NAMESPACE, "range");
75: COMMENT = factory.createURI(RDFS.NAMESPACE, "comment");
76: LABEL = factory.createURI(RDFS.NAMESPACE, "label");
77: DATATYPE = factory.createURI(RDFS.NAMESPACE, "Datatype");
78: CONTAINER = factory.createURI(RDFS.NAMESPACE, "Container");
79: MEMBER = factory.createURI(RDFS.NAMESPACE, "member");
80: ISDEFINEDBY = factory.createURI(RDFS.NAMESPACE, "isDefinedBy");
81: SEEALSO = factory.createURI(RDFS.NAMESPACE, "seeAlso");
82: CONTAINERMEMBERSHIPPROPERTY = factory.createURI(RDFS.NAMESPACE,
83: "ContainerMembershipProperty");
84: }
85: }
|