Source for file RdfsVocabulary.php

Documentation is available at RdfsVocabulary.php

  1. <?php
  2.  
  3. // ----------------------------------------------------------------------------------
  4. // Class: RdfsVocabulary
  5. // ----------------------------------------------------------------------------------
  6.  
  7. /**
  8. * RDFS vocabulary items
  9. *
  10. *
  11. @version  $Id: fsource_ontModel__ontModelRdfsVocabulary.php.html 443 2007-06-01 16:25:38Z cax $
  12. @author Daniel Westphal <mail at d-westphal dot de>
  13. *
  14. *
  15. @package     ontModel
  16. @access    public
  17. ***/
  18. class RdfsVocabulary extends OntVocabulary 
  19. {
  20.  
  21.     /**
  22.     * Answer the resource that represents the class 'class' in this vocabulary.
  23.     *
  24.        * @return    object ResResource 
  25.        * @access    public
  26.        */
  27.     function ONTCLASS()
  28.     {
  29.         return new ResResource(RDF_SCHEMA_URI.RDFS_CLASS);    
  30.     }
  31.     
  32.     /**
  33.     * Answer the predicate that denotes the domain of a property.
  34.     *
  35.        * @return    object ResProperty 
  36.        * @access    public
  37.        */
  38.     function DOMAIN()
  39.     {
  40.         return new ResProperty(RDF_SCHEMA_URI.RDFS_DOMAIN);    
  41.     }
  42.     
  43.      
  44.      /**
  45.     * Answer the predicate that denotes comment annotation on an ontology element.
  46.     *
  47.        * @return    object ResProperty 
  48.        * @access    public
  49.        */
  50.     function COMMENT()
  51.     {
  52.         return new ResProperty(RDF_SCHEMA_URI.RDFS_COMMENT);    
  53.     }
  54.     
  55.      /**
  56.     * Answer the predicate that denotes isDefinedBy annotation on an ontology element
  57.     *
  58.        * @return    object ResProperty 
  59.        * @access    public
  60.        */
  61.     function IS_DEFINED_BY()
  62.     {
  63.         return new ResProperty(RDF_SCHEMA_URI.RDFS_IS_DEFINED_BY);
  64.     }
  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.     /**
  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.     /**
  89.     * Answer the predicate that denotes seeAlso annotation on an ontology element
  90.     *
  91.        * @return    object ResProperty 
  92.        * @access    public
  93.        */
  94.     function SEE_ALSO()
  95.     {
  96.         return new ResProperty(RDF_SCHEMA_URI.RDFS_SEE_ALSO);
  97.     }
  98.     
  99.     /**
  100.     * Answer the predicate that denotes that one class is a sub-class of another.
  101.     *
  102.        * @return    object ResProperty 
  103.        * @access    public
  104.        */
  105.     function SUB_CLASS_OF()
  106.     {
  107.         return new ResProperty(RDF_SCHEMA_URI.RDFS_SUBCLASSOF);
  108.     }
  109.     
  110.     /**
  111.     * Answer the predicate that denotes that one property is a sub-property of another.
  112.     *
  113.        * @return    object ResProperty 
  114.        * @access    public
  115.        */
  116.     function SUB_PROPERTY_OF()
  117.     {
  118.         return new ResProperty(RDF_SCHEMA_URI.RDFS_SUBPROPERTYOF);
  119.     }
  120.  
  121.     /**
  122.     * Answer the string that is the namespace prefix for this vocabulary
  123.     *
  124.        * @return    string 
  125.        * @access    public
  126.        */
  127.     function NAMESPACE()
  128.     {
  129.         return RDF_SCHEMA_URI;
  130.     }
  131.     
  132.     /**
  133.     * Answer the predicate that denotes the rdf:type property.
  134.     *
  135.        * @return    object ResProperty 
  136.        * @access    public
  137.        */
  138.     function TYPE()
  139.     {
  140.         return new ResProperty(RDF_NAMESPACE_URI.RDF_TYPE);
  141.     }
  142. ?>

Documentation generated on Fri, 1 Jun 2007 16:50:51 +0200 by phpDocumentor 1.3.2