Source for file OWL_C.php

Documentation is available at OWL_C.php

  1. <?PHP
  2. // ----------------------------------------------------------------------------------
  3. // OWL Vocabulary (Resource)
  4. // ----------------------------------------------------------------------------------
  5. // Version : 0.9
  6. // Authors : Daniel Westphal (dawe@gmx.de)
  7. //
  8. // Description : Wrapper, defining resources for all concepts of the Web
  9. // Ontology Language (OWL). For details about OWL see:
  10. // http://www.w3.org/TR/owl-ref/
  11. // Using the wrapper allows you to define all aspects of
  12. // the language in one spot, simplifing implementation and
  13. // maintainence.
  14. // ----------------------------------------------------------------------------------
  15. // <BR><BR>History:<UL>
  16. // <LI>06-25-2004 : $OWL_equivalentClass, $OWL_equivalentProperty, $OWL_Thing, $OWL_Nothing,
  17. // $OWL_AllDifferent, $OWL_distinctMembers added (auer@informatik.uni-leipzig.de)</LI>
  18. // <LI>05-24-2004 : $OWL_DeprecatedClass, $OWL_DeprecatedProperty, $OWL_priorVersion,
  19. // $OWL_backwardCompatibleWith, $OWL_incompatibleWith (auer@informatik.uni-leipzig.de)</LI>
  20. // <LI>03-26-2004 : $OWL:_AnnotationProperty and $OWL_DataRange added (auer@informatik.uni-leipzig.de)</LI>
  21. // <LI>02-21-2003 : Initial version</LI>
  22. // ----------------------------------------------------------------------------------
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. class OWL{
  31.  
  32. // OWL concepts
  33. function ANNOTATION_PROPERTY()
  34. {
  35. return new Resource(OWL_NS . 'AnnotationProperty');
  36.  
  37. }
  38.  
  39. function ALL_DIFFERENT()
  40. {
  41. return new Resource(OWL_NS . 'AllDifferent');
  42.  
  43. }
  44.  
  45. function ALL_VALUES_FROM()
  46. {
  47. return new Resource(OWL_NS . 'allValuesFrom');
  48.  
  49. }
  50.  
  51. function BACKWARD_COMPATIBLE_WITH()
  52. {
  53. return new Resource(OWL_NS . 'backwardCompatibleWith');
  54.  
  55. }
  56.  
  57. function CARDINALITY()
  58. {
  59. return new Resource(OWL_NS . 'cardinality');
  60.  
  61. }
  62.  
  63. function OWL_CLASS()
  64. {
  65. return new Resource(OWL_NS . 'Class');
  66.  
  67. }
  68.  
  69. function COMPLEMENT_OF()
  70. {
  71. return new Resource(OWL_NS . 'complementOf');
  72.  
  73. }
  74.  
  75. function DATATYPE()
  76. {
  77. return new Resource(OWL_NS . 'Datatype');
  78.  
  79. }
  80.  
  81. function DATATYPE_PROPERTY()
  82. {
  83. return new Resource(OWL_NS . 'DatatypeProperty');
  84.  
  85. }
  86.  
  87. function DATA_RANGE()
  88. {
  89. return new Resource(OWL_NS . 'DataRange');
  90.  
  91. }
  92.  
  93. function DATATYPE_RESTRICTION()
  94. {
  95. return new Resource(OWL_NS . 'DatatypeRestriction');
  96.  
  97. }
  98.  
  99. function DEPRECATED_CLASS()
  100. {
  101. return new Resource(OWL_NS . 'DeprecatedClass');
  102.  
  103. }
  104.  
  105. function DEPRECATED_PROPERTY()
  106. {
  107. return new Resource(OWL_NS . 'DeprecatedProperty');
  108.  
  109. }
  110.  
  111. function DISTINCT_MEMBERS()
  112. {
  113. return new Resource(OWL_NS . 'distinctMembers');
  114.  
  115. }
  116.  
  117. function DIFFERENT_FROM()
  118. {
  119. return new Resource(OWL_NS . 'differentFrom');
  120.  
  121. }
  122.  
  123. function DISJOINT_WITH()
  124. {
  125. return new Resource(OWL_NS . 'disjointWith');
  126.  
  127. }
  128.  
  129. function EQUIVALENT_CLASS()
  130. {
  131. return new Resource(OWL_NS . 'equivalentClass');
  132.  
  133. }
  134.  
  135. function EQUIVALENT_PROPERTY()
  136. {
  137. return new Resource(OWL_NS . 'equivalentProperty');
  138.  
  139. }
  140.  
  141. function FUNCTIONAL_PROPERTY()
  142. {
  143. return new Resource(OWL_NS . 'FunctionalProperty');
  144.  
  145. }
  146.  
  147. function HAS_VALUE()
  148. {
  149. return new Resource(OWL_NS . 'hasValue');
  150.  
  151. }
  152.  
  153. function INCOMPATIBLE_WITH()
  154. {
  155. return new Resource(OWL_NS . 'incompatibleWith');
  156.  
  157. }
  158.  
  159. function IMPORTS()
  160. {
  161. return new Resource(OWL_NS . 'imports');
  162.  
  163. }
  164.  
  165. function INTERSECTION_OF()
  166. {
  167. return new Resource(OWL_NS . 'intersectionOf');
  168.  
  169. }
  170.  
  171. function INVERSE_FUNCTIONAL_PROPERTY()
  172. {
  173. return new Resource(OWL_NS . 'InverseFunctionalProperty');
  174.  
  175. }
  176.  
  177. function INVERSE_OF()
  178. {
  179. return new Resource(OWL_NS . 'inverseOf');
  180.  
  181. }
  182.  
  183. function MAX_CARDINALITY()
  184. {
  185. return new Resource(OWL_NS . 'maxCardinality');
  186.  
  187. }
  188.  
  189. function MIN_CARDINALITY()
  190. {
  191. return new Resource(OWL_NS . 'minCardinality');
  192.  
  193. }
  194.  
  195. function NOTHING()
  196. {
  197. return new Resource(OWL_NS . 'Nothing');
  198.  
  199. }
  200.  
  201. function OBJECT_CLASS()
  202. {
  203. return new Resource(OWL_NS . 'ObjectClass');
  204.  
  205. }
  206.  
  207. function OBJECT_PROPERTY()
  208. {
  209. return new Resource(OWL_NS . 'ObjectProperty');
  210.  
  211. }
  212.  
  213. function OBJECT_RESTRICTION()
  214. {
  215. return new Resource(OWL_NS . 'ObjectRestriction');
  216.  
  217. }
  218.  
  219. function ONE_OF()
  220. {
  221. return new Resource(OWL_NS . 'oneOf');
  222.  
  223. }
  224.  
  225. function ON_PROPERTY()
  226. {
  227. return new Resource(OWL_NS . 'onProperty');
  228.  
  229. }
  230.  
  231. function ONTOLOGY()
  232. {
  233. return new Resource(OWL_NS . 'Ontology');
  234.  
  235. }
  236.  
  237. function PRIOR_VERSION()
  238. {
  239. return new Resource(OWL_NS . 'priorVersion');
  240.  
  241. }
  242.  
  243. function PROPERTY()
  244. {
  245. return new Resource(OWL_NS . 'Property');
  246.  
  247. }
  248.  
  249. function RESTRICTION()
  250. {
  251. return new Resource(OWL_NS . 'Restriction');
  252.  
  253. }
  254.  
  255. function SAME_AS()
  256. {
  257. return new Resource(OWL_NS . 'sameAs');
  258.  
  259. }
  260.  
  261. function SAME_CLASS_AS()
  262. {
  263. return new Resource(OWL_NS . 'sameClassAs');
  264.  
  265. }
  266.  
  267. function SAME_INDIVIDUAL_AS()
  268. {
  269. return new Resource(OWL_NS . 'sameIndividualAs');
  270.  
  271. }
  272.  
  273. function SAME_PROPERTY_AS()
  274. {
  275. return new Resource(OWL_NS . 'samePropertyAs');
  276.  
  277. }
  278.  
  279. function SOME_VALUES_FROM()
  280. {
  281. return new Resource(OWL_NS . 'someValuesFrom');
  282.  
  283. }
  284.  
  285. function SYMMETRIC_PROPERTY()
  286. {
  287. return new Resource(OWL_NS . 'SymmetricProperty');
  288.  
  289. }
  290.  
  291. function THING()
  292. {
  293. return new Resource(OWL_NS . 'Thing');
  294.  
  295. }
  296.  
  297. function TRANSITIVE_PROPERTY()
  298. {
  299. return new Resource(OWL_NS . 'TransitiveProperty');
  300.  
  301. }
  302.  
  303. function UNION_OF()
  304. {
  305. return new Resource(OWL_NS . 'unionOf');
  306.  
  307. }
  308.  
  309. function VERSION_INFO()
  310. {
  311. return new Resource(OWL_NS . 'versionInfo');
  312. }
  313.  
  314. }
  315.  
  316.  
  317. ?>

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