Source for file RDFS_RES.php

Documentation is available at RDFS_RES.php

  1. <?PHP
  2.  
  3. // ----------------------------------------------------------------------------------
  4. // RDF Vocabulary Description Language 1.0: RDF Schema (RDFS) Vocabulary (ResResource)
  5. // ----------------------------------------------------------------------------------
  6. // Version : 0.9
  7. // Authors : Daniel Westphal (dawe@gmx.de)
  8. //
  9. // Description : Wrapper, defining resources for all terms of the
  10. // RDF Schema (RDFS).
  11. // For details about RDF see: http://www.w3.org/TR/rdf-schema/.
  12. // Using the wrapper allows you to define all aspects of
  13. // the vocabulary in one spot, simplifing implementation and
  14. // maintainence.
  15. //
  16. // ----------------------------------------------------------------------------------
  17. // History:
  18. // 02-21-2003 : Initial version
  19. // ----------------------------------------------------------------------------------
  20.  
  21. // RDFS concepts
  22.  
  23.  
  24.  
  25. class RDFS_RES{
  26.  
  27. function RESOURCE()
  28. {
  29. return new ResResource(RDF_SCHEMA_URI . 'Resource');
  30.  
  31. }
  32.  
  33. function LITERAL()
  34. {
  35. return new ResResource(RDF_SCHEMA_URI . 'Literal');
  36.  
  37. }
  38.  
  39. function RDFS_CLASS()
  40. {
  41. return new ResResource(RDF_SCHEMA_URI . 'Class');
  42.  
  43. }
  44.  
  45. function DATATYPE()
  46. {
  47. return new ResResource(RDF_SCHEMA_URI . 'Datatype');
  48.  
  49. }
  50.  
  51. function CONTAINER()
  52. {
  53. return new ResResource(RDF_SCHEMA_URI . 'Container');
  54.  
  55. }
  56.  
  57. function CONTAINER_MEMBERSHIP_PROPERTY()
  58. {
  59. return new ResResource(RDF_SCHEMA_URI . 'ContainerMembershipProperty');
  60.  
  61. }
  62.  
  63. function SUB_CLASS_OF()
  64. {
  65. return new ResResource(RDF_SCHEMA_URI . 'subClassOf');
  66.  
  67. }
  68.  
  69. function SUB_PROPERTY_OF()
  70. {
  71. return new ResResource(RDF_SCHEMA_URI . 'subPropertyOf');
  72.  
  73. }
  74.  
  75. function DOMAIN()
  76. {
  77. return new ResResource(RDF_SCHEMA_URI . 'domain');
  78.  
  79. }
  80.  
  81. function RANGE()
  82. {
  83. return new ResResource(RDF_SCHEMA_URI . 'range');
  84.  
  85. }
  86.  
  87. function LABEL()
  88. {
  89. return new ResResource(RDF_SCHEMA_URI . 'label');
  90.  
  91. }
  92.  
  93. function COMMENT()
  94. {
  95. return new ResResource(RDF_SCHEMA_URI . 'comment');
  96.  
  97. }
  98.  
  99. function MEMBER()
  100. {
  101. return new ResResource(RDF_SCHEMA_URI . 'member');
  102.  
  103. }
  104.  
  105. function SEEALSO()
  106. {
  107. return new ResResource(RDF_SCHEMA_URI . 'seeAlso');
  108.  
  109. }
  110.  
  111. function IS_DEFINED_BY()
  112. {
  113. return new ResResource(RDF_SCHEMA_URI . 'isDefinedBy');
  114. }
  115. }
  116. ?>

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