Source for file OWLVocabulary.php

Documentation is available at OWLVocabulary.php

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

Documentation generated on Fri, 17 Dec 2004 16:16:42 +0100 by phpDocumentor 1.3.0RC3