Source for file OWL_RES.php

Documentation is available at OWL_RES.php

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

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