source: Dev/branches/rest-dojo-ui/server/rdfapi/ontModel/OWLVocabulary.php @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 6.9 KB
Line 
1<?php
2
3// ----------------------------------------------------------------------------------
4// Class: OWLVocabulary
5// ----------------------------------------------------------------------------------
6
7/**
8* OWL vocabulary items
9*
10* @version  $Id: OWLVocabulary.php 320 2006-11-21 09:38:51Z tgauss $
11* @author Daniel Westphal <mail at d-westphal dot de>
12*
13*
14* @package      ontModel
15* @access       public
16**/
17class OWLVocabulary extends OntVocabulary
18{
19
20        /**
21        * Answer the resource that represents the class 'class' in this vocabulary.
22        *
23        * @return       object ResResource
24        * @access       public
25        */
26        function ONTCLASS()
27        {
28                return new ResResource(OWL_NS.'Class');
29        }
30
31        /**
32        * Answer the predicate that denotes the domain of a property.
33        *
34        * @return       object ResProperty
35        * @access       public
36        */
37        function DOMAIN()
38        {
39                return new ResProperty(RDF_SCHEMA_URI.RDFS_DOMAIN);     
40        }
41       
42         
43        /**
44        * Answer the predicate that denotes comment annotation on an ontology element.
45        *
46        * @return       object ResProperty
47        * @access       public
48        */
49        function COMMENT()
50        {
51                return new ResProperty(RDF_SCHEMA_URI.RDFS_COMMENT);   
52        }
53       
54        /**
55        * Answer the predicate that denotes isDefinedBy annotation on an ontology element
56        *
57        * @return       object ResProperty
58        * @access       public
59        */
60        function IS_DEFINED_BY()
61        {
62                return new ResProperty(RDF_SCHEMA_URI.RDFS_IS_DEFINED_BY);
63        }
64       
65        /**
66        * Answer the predicate that denotes label annotation on an ontology element
67        *
68        * @return       object ResProperty
69        * @access       public
70        */
71        function LABEL()
72        {
73                return new ResProperty(RDF_SCHEMA_URI.RDFS_LABEL);
74        }
75       
76        /**
77        * Answer the predicate that denotes the domain of a property.
78        *
79        * @return       object ResProperty
80        * @access       public
81        */
82        function RANGE()
83        {
84                return new ResProperty(RDF_SCHEMA_URI.RDFS_RANGE);
85        }
86       
87        /**
88        * Answer the predicate that denotes seeAlso annotation on an ontology element
89        *
90        * @return       object ResProperty
91        * @access       public
92        */
93        function SEE_ALSO()
94        {
95                return new ResProperty(RDF_SCHEMA_URI.RDFS_SEE_ALSO);
96        }
97       
98        /**
99        * Answer the predicate that denotes that one class is a sub-class of another.
100        *
101        * @return       object ResProperty
102        * @access       public
103        */
104        function SUB_CLASS_OF()
105        {
106                return new ResProperty(RDF_SCHEMA_URI.RDFS_SUBCLASSOF);
107        }
108       
109        /**
110        * Answer the predicate that denotes that one property is a sub-property of another.
111        *
112        * @return       object ResProperty
113        * @access       public
114        */
115        function SUB_PROPERTY_OF()
116        {
117                return new ResProperty(RDF_SCHEMA_URI.RDFS_SUBPROPERTYOF);
118        }
119       
120       
121       
122        function ANNOTATION_PROPERTY()
123        {
124                return new ResProperty(OWL_NS . 'AnnotationProperty'); 
125        }
126
127        function ALL_DIFFERENT()
128        {
129                return new ResProperty(OWL_NS . 'AllDifferent');       
130        }
131       
132        function ALL_VALUES_FROM()
133        {
134                return new ResProperty(OWL_NS . 'allValuesFrom');
135        }
136
137        function BACKWARD_COMPATIBLE_WITH()
138        {
139                return new ResProperty(OWL_NS . 'backwardCompatibleWith');
140        }
141       
142        function CARDINALITY()
143        {
144                return new ResProperty(OWL_NS . 'cardinality');
145        }
146
147        function COMPLEMENT_OF()
148        {
149                return new ResProperty(OWL_NS . 'complementOf');
150        }
151       
152        function DATATYPE()
153        {
154                return new ResProperty(OWL_NS . 'Datatype');
155        }
156       
157        function DATATYPE_PROPERTY()
158        {
159                return new ResProperty(OWL_NS . 'DatatypeProperty');
160        }
161
162        function DATA_RANGE()
163        {
164                return new ResProperty(OWL_NS . 'DataRange');
165        }
166
167        function DATATYPE_RESTRICTION()
168        {
169                return new ResProperty(OWL_NS . 'DatatypeRestriction');
170        }
171
172        function DEPRECATED_CLASS()
173        {
174                return new ResProperty(OWL_NS . 'DeprecatedClass');
175        }
176
177        function DEPRECATED_PROPERTY()
178        {
179                return new ResProperty(OWL_NS . 'DeprecatedProperty');
180        }
181
182        function DISTINCT_MEMBERS()
183        {
184                return new ResProperty(OWL_NS . 'distinctMembers');
185        }
186
187        function DIFFERENT_FROM()
188        {
189                return new ResProperty(OWL_NS . 'differentFrom');
190        }
191
192        function DISJOINT_WITH()
193        {
194                return new ResProperty(OWL_NS . 'disjointWith');
195        }
196
197        function EQUIVALENT_CLASS()
198        {
199                return new ResProperty(OWL_NS . 'equivalentClass');
200        }
201
202        function EQUIVALENT_PROPERTY()
203        {
204                return new ResProperty(OWL_NS . 'equivalentProperty');
205        }
206
207        function FUNCTIONAL_PROPERTY()
208        {
209                return new ResProperty(OWL_NS . 'FunctionalProperty');
210        }
211
212        function HAS_VALUE()
213        {
214                return new ResProperty(OWL_NS . 'hasValue');
215        }
216
217        function INCOMPATIBLE_WITH()
218        {
219                return new ResProperty(OWL_NS . 'incompatibleWith');
220        }
221
222        function IMPORTS()
223        {
224                return new ResProperty(OWL_NS . 'imports');
225        }
226
227        function INTERSECTION_OF()
228        {
229                return new ResProperty(OWL_NS . 'intersectionOf');
230        }
231
232        function INVERSE_FUNCTIONAL_PROPERTY()
233        {
234                return new ResProperty(OWL_NS . 'InverseFunctionalProperty');
235        }
236
237        function INVERSE_OF()
238        {
239                return new ResProperty(OWL_NS . 'inverseOf');
240        }
241
242        function MAX_CARDINALITY()
243        {
244                return new ResProperty(OWL_NS . 'maxCardinality');
245        }
246
247        function MIN_CARDINALITY()
248        {
249                return new ResProperty(OWL_NS . 'minCardinality');
250        }
251
252        function NOTHING()
253        {
254                return new ResProperty(OWL_NS . 'Nothing');
255        }
256
257        function OBJECT_CLASS()
258        {
259                return new ResProperty(OWL_NS . 'ObjectClass');
260        }
261
262        function OBJECT_PROPERTY()
263        {
264                return new ResProperty(OWL_NS . 'ObjectProperty');
265        }
266
267        function OBJECT_RESTRICTION()
268        {
269                return new ResProperty(OWL_NS . 'ObjectRestriction');
270        }
271
272        function ONE_OF()
273        {
274                return new ResProperty(OWL_NS . 'oneOf');
275        }
276
277        function ON_PROPERTY()
278        {
279                return new ResProperty(OWL_NS . 'onProperty');
280        }
281
282        function ONTOLOGY()
283        {
284                return new ResProperty(OWL_NS . 'Ontology');
285               
286        }
287
288        function PRIOR_VERSION()
289        {
290                return new ResProperty(OWL_NS . 'priorVersion');
291        }
292
293        function PROPERTY()
294        {
295                return new ResProperty(OWL_NS . 'Property');
296        }
297
298        function RESTRICTION()
299        {
300                return new ResProperty(OWL_NS . 'Restriction');
301        }
302
303        function SAME_AS()
304        {
305                return new ResProperty(OWL_NS . 'sameAs');
306        }
307
308        function SAME_CLASS_AS()
309        {
310                return new ResProperty(OWL_NS . 'sameClassAs');
311        }
312
313        function SAME_INDIVIDUAL_AS()
314        {
315                return new ResProperty(OWL_NS . 'sameIndividualAs');
316        }
317
318        function SAME_PROPERTY_AS()
319        {
320                return new ResProperty(OWL_NS . 'samePropertyAs');
321        }
322
323        function SOME_VALUES_FROM()
324        {
325                return new ResProperty(OWL_NS . 'someValuesFrom');
326        }
327
328        function SYMMETRIC_PROPERTY()
329        {
330                return new ResProperty(OWL_NS . 'SymmetricProperty');
331        }
332
333        function THING()
334        {
335                return new ResProperty(OWL_NS . 'Thing');
336        }
337
338        function TRANSITIVE_PROPERTY()
339        {
340                return new ResProperty(OWL_NS . 'TransitiveProperty');
341        }
342
343        function UNION_OF()
344        {
345                return new ResProperty(OWL_NS . 'unionOf');
346        }
347
348        function VERSION_INFO()
349        {
350                return new ResProperty(OWL_NS . 'versionInfo');
351        }
352
353        function NAMESPACE()
354        {
355                return OWL_NS;
356        }
357
358        /**
359        * Answer the predicate that denotes the rdf:type property.
360        *
361        * @return       object ResProperty
362        * @access       public
363        */
364        function TYPE()
365        {
366                return new ResProperty(RDF_NAMESPACE_URI.RDF_TYPE);
367        }
368}
369?>
Note: See TracBrowser for help on using the repository browser.