Source for file RdfsVocabulary.php

Documentation is available at RdfsVocabulary.php

  1. <?PHP
  2. /**
  3. * ----------------------------------------------------------------------------------
  4. * Class: RdfsVocabulary
  5. * ----------------------------------------------------------------------------------
  6. *
  7. * @package ontModel
  8. */
  9.  
  10. /**
  11. * RDFS 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 RdfsVocabulary 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(RDF_SCHEMA_URI.RDFS_CLASS);
  35. }
  36. /**
  37. * Answer the predicate that denotes the domain of a property.
  38. *
  39. * @return object ResProperty
  40. * @access public
  41. */
  42. function DOMAIN()
  43. {
  44. return new ResProperty(RDF_SCHEMA_URI.RDFS_DOMAIN);
  45. }
  46. /**
  47. * Answer the predicate that denotes comment annotation on an ontology element.
  48. *
  49. * @return object ResProperty
  50. * @access public
  51. */
  52. function COMMENT()
  53. {
  54. return new ResProperty(RDF_SCHEMA_URI.RDFS_COMMENT);
  55. }
  56. /**
  57. * Answer the predicate that denotes isDefinedBy annotation on an ontology element
  58. *
  59. * @return object ResProperty
  60. * @access public
  61. */
  62. function IS_DEFINED_BY()
  63. {
  64. return new ResProperty(RDF_SCHEMA_URI.RDFS_IS_DEFINED_BY);
  65. }
  66. /**
  67. * Answer the predicate that denotes label annotation on an ontology element
  68. *
  69. * @return object ResProperty
  70. * @access public
  71. */
  72. function LABEL()
  73. {
  74. return new ResProperty(RDF_SCHEMA_URI.RDFS_LABEL);
  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. * Answer the predicate that denotes seeAlso annotation on an ontology element
  88. *
  89. * @return object ResProperty
  90. * @access public
  91. */
  92. function SEE_ALSO()
  93. {
  94. return new ResProperty(RDF_SCHEMA_URI.RDFS_SEE_ALSO);
  95. }
  96. /**
  97. * Answer the predicate that denotes that one class is a sub-class of another.
  98. *
  99. * @return object ResProperty
  100. * @access public
  101. */
  102. function SUB_CLASS_OF()
  103. {
  104. return new ResProperty(RDF_SCHEMA_URI.RDFS_SUBCLASSOF);
  105. }
  106. /**
  107. * Answer the predicate that denotes that one property is a sub-property of another.
  108. *
  109. * @return object ResProperty
  110. * @access public
  111. */
  112. function SUB_PROPERTY_OF()
  113. {
  114. return new ResProperty(RDF_SCHEMA_URI.RDFS_SUBPROPERTYOF);
  115. }
  116.  
  117. /**
  118. * Answer the string that is the namespace prefix for this vocabulary
  119. *
  120. * @return string
  121. * @access public
  122. */
  123. function NAMESPACE()
  124. {
  125. return RDF_SCHEMA_URI;
  126. }
  127. /**
  128. * Answer the predicate that denotes the rdf:type property.
  129. *
  130. * @return object ResProperty
  131. * @access public
  132. */
  133. function TYPE()
  134. {
  135. return new ResProperty(RDF_NAMESPACE_URI.RDF_TYPE);
  136. }
  137. }
  138. ?>

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