001: /*
002: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
003: *
004: * Licensed under the Aduna BSD-style license.
005: */
006: package org.openrdf.model.vocabulary;
007:
008: import org.openrdf.model.URI;
009: import org.openrdf.model.ValueFactory;
010: import org.openrdf.model.impl.ValueFactoryImpl;
011:
012: /**
013: * Constants for OWL primitives and for the OWL namespace.
014: */
015: public class OWL {
016:
017: /** http://www.w3.org/2002/07/owl# */
018: public static final String NAMESPACE = "http://www.w3.org/2002/07/owl#";
019:
020: // OWL Lite
021:
022: /** http://www.w3.org/2002/07/owl#Class */
023: public final static URI CLASS;
024:
025: /** http://www.w3.org/2002/07/owl#Individual */
026: public final static URI INDIVIDUAL;
027:
028: /** http://www.w3.org/2002/07/owl#equivalentClass */
029: public final static URI EQUIVALENTCLASS;
030:
031: /** http://www.w3.org/2002/07/owl#equivalentProperty */
032: public final static URI EQUIVALENTPROPERTY;
033:
034: /** http://www.w3.org/2002/07/owl#sameAs */
035: public final static URI SAMEAS;
036:
037: /** http://www.w3.org/2002/07/owl#differentFrom */
038: public final static URI DIFFERENTFROM;
039:
040: /** http://www.w3.org/2002/07/owl#AllDifferent */
041: public final static URI ALLDIFFERENT;
042:
043: /** http://www.w3.org/2002/07/owl#distinctMembers */
044: public final static URI DISTINCTMEMBERS;
045:
046: /** http://www.w3.org/2002/07/owl#ObjectProperty */
047: public final static URI OBJECTPROPERTY;
048:
049: /** http://www.w3.org/2002/07/owl#DatatypeProperty */
050: public final static URI DATATYPEPROPERTY;
051:
052: /** http://www.w3.org/2002/07/owl#inverseOf */
053: public final static URI INVERSEOF;
054:
055: /** http://www.w3.org/2002/07/owl#TransitiveProperty */
056: public final static URI TRANSITIVEPROPERTY;
057:
058: /** http://www.w3.org/2002/07/owl#SymmetricProperty */
059: public final static URI SYMMETRICPROPERTY;
060:
061: /** http://www.w3.org/2002/07/owl#FunctionalProperty */
062: public final static URI FUNCTIONALPROPERTY;
063:
064: /** http://www.w3.org/2002/07/owl#InverseFunctionalProperty */
065: public final static URI INVERSEFUNCTIONALPROPERTY;
066:
067: /** http://www.w3.org/2002/07/owl#Restriction */
068: public final static URI RESTRICTION;
069:
070: /** http://www.w3.org/2002/07/owl#onProperty */
071: public final static URI ONPROPERTY;
072:
073: /** http://www.w3.org/2002/07/owl#allValuesFrom */
074: public final static URI ALLVALUESFROM;
075:
076: /** http://www.w3.org/2002/07/owl#someValuesFrom */
077: public final static URI SOMEVALUESFROM;
078:
079: /** http://www.w3.org/2002/07/owl#minCardinality */
080: public final static URI MINCARDINALITY;
081:
082: /** http://www.w3.org/2002/07/owl#maxCardinality */
083: public final static URI MAXCARDINALITY;
084:
085: /** http://www.w3.org/2002/07/owl#cardinality */
086: public final static URI CARDINALITY;
087:
088: /** http://www.w3.org/2002/07/owl#Ontology */
089: public final static URI ONTOLOGY;
090:
091: /** http://www.w3.org/2002/07/owl#imports */
092: public final static URI IMPORTS;
093:
094: /** http://www.w3.org/2002/07/owl#intersectionOf */
095: public final static URI INTERSECTIONOF;
096:
097: /** http://www.w3.org/2002/07/owl#versionInfo */
098: public final static URI VERSIONINFO;
099:
100: /** http://www.w3.org/2002/07/owl#priorVersion */
101: public final static URI PRIORVERSION;
102:
103: /** http://www.w3.org/2002/07/owl#backwardCompatibleWith */
104: public final static URI BACKWARDCOMPATIBLEWITH;
105:
106: /** http://www.w3.org/2002/07/owl#incompatibleWith */
107: public final static URI INCOMPATIBLEWITH;
108:
109: /** http://www.w3.org/2002/07/owl#DeprecatedClass */
110: public final static URI DEPRECATEDCLASS;
111:
112: /** http://www.w3.org/2002/07/owl#DeprecatedProperty */
113: public final static URI DEPRECATEDPROPERTY;
114:
115: /** http://www.w3.org/2002/07/owl#AnnotationProperty */
116: public final static URI ANNOTATIONPROPERTY;
117:
118: /** http://www.w3.org/2002/07/owl#OntologyProperty */
119: public final static URI ONTOLOGYPROPERTY;
120:
121: // OWL DL and OWL Full
122:
123: /** http://www.w3.org/2002/07/owl#oneOf */
124: public final static URI ONEOF;
125:
126: /** http://www.w3.org/2002/07/owl#hasValue */
127: public final static URI HASVALUE;
128:
129: /** http://www.w3.org/2002/07/owl#disjointWith */
130: public final static URI DISJOINTWITH;
131:
132: /** http://www.w3.org/2002/07/owl#unionOf */
133: public final static URI UNIONOF;
134:
135: /** http://www.w3.org/2002/07/owl#complementOf */
136: public final static URI COMPLEMENTOF;
137:
138: static {
139: ValueFactory factory = ValueFactoryImpl.getInstance();
140:
141: CLASS = factory.createURI(OWL.NAMESPACE, "Class");
142: INDIVIDUAL = factory.createURI(OWL.NAMESPACE, "Individual");
143: EQUIVALENTCLASS = factory.createURI(OWL.NAMESPACE,
144: "equivalentClass");
145: EQUIVALENTPROPERTY = factory.createURI(OWL.NAMESPACE,
146: "equivalentProperty");
147: SAMEAS = factory.createURI(OWL.NAMESPACE, "sameAs");
148: DIFFERENTFROM = factory.createURI(OWL.NAMESPACE,
149: "differentFrom");
150: ALLDIFFERENT = factory.createURI(OWL.NAMESPACE, "AllDifferent");
151:
152: DISTINCTMEMBERS = factory.createURI(OWL.NAMESPACE,
153: "distinctMembers");
154:
155: OBJECTPROPERTY = factory.createURI(OWL.NAMESPACE,
156: "ObjectProperty");
157:
158: DATATYPEPROPERTY = factory.createURI(OWL.NAMESPACE,
159: "DatatypeProperty");
160:
161: INVERSEOF = factory.createURI(OWL.NAMESPACE, "inverseOf");
162:
163: TRANSITIVEPROPERTY = factory.createURI(OWL.NAMESPACE,
164: "TransitiveProperty");
165:
166: SYMMETRICPROPERTY = factory.createURI(OWL.NAMESPACE,
167: "SymmetricProperty");
168:
169: FUNCTIONALPROPERTY = factory.createURI(OWL.NAMESPACE,
170: "FunctionalProperty");
171:
172: INVERSEFUNCTIONALPROPERTY = factory.createURI(OWL.NAMESPACE,
173: "InverseFunctionalProperty");
174:
175: RESTRICTION = factory.createURI(OWL.NAMESPACE, "Restriction");
176:
177: ONPROPERTY = factory.createURI(OWL.NAMESPACE, "onProperty");
178:
179: ALLVALUESFROM = factory.createURI(OWL.NAMESPACE,
180: "allValuesFrom");
181:
182: SOMEVALUESFROM = factory.createURI(OWL.NAMESPACE,
183: "someValuesFrom");
184:
185: MINCARDINALITY = factory.createURI(OWL.NAMESPACE,
186: "minCardinality");
187:
188: MAXCARDINALITY = factory.createURI(OWL.NAMESPACE,
189: "maxCardinality");
190:
191: CARDINALITY = factory.createURI(OWL.NAMESPACE, "cardinality");
192:
193: ONTOLOGY = factory.createURI(OWL.NAMESPACE, "Ontology");
194:
195: IMPORTS = factory.createURI(OWL.NAMESPACE, "imports");
196:
197: INTERSECTIONOF = factory.createURI(OWL.NAMESPACE,
198: "intersectionOf");
199:
200: VERSIONINFO = factory.createURI(OWL.NAMESPACE, "versionInfo");
201:
202: PRIORVERSION = factory.createURI(OWL.NAMESPACE, "priorVersion");
203:
204: BACKWARDCOMPATIBLEWITH = factory.createURI(OWL.NAMESPACE,
205: "backwardCompatibleWith");
206:
207: INCOMPATIBLEWITH = factory.createURI(OWL.NAMESPACE,
208: "incompatibleWith");
209:
210: DEPRECATEDCLASS = factory.createURI(OWL.NAMESPACE,
211: "DeprecatedClass");
212:
213: DEPRECATEDPROPERTY = factory.createURI(OWL.NAMESPACE,
214: "DeprecatedProperty");
215:
216: ANNOTATIONPROPERTY = factory.createURI(OWL.NAMESPACE,
217: "AnnotationProperty");
218:
219: ONTOLOGYPROPERTY = factory.createURI(OWL.NAMESPACE,
220: "OntologyProperty");
221:
222: // OWL DL and OWL Full
223:
224: ONEOF = factory.createURI(OWL.NAMESPACE, "oneOf");
225:
226: HASVALUE = factory.createURI(OWL.NAMESPACE, "hasValue");
227:
228: DISJOINTWITH = factory.createURI(OWL.NAMESPACE, "disjointWith");
229:
230: UNIONOF = factory.createURI(OWL.NAMESPACE, "unionOf");
231:
232: COMPLEMENTOF = factory.createURI(OWL.NAMESPACE, "complementOf");
233:
234: }
235: }
|