Source for file RDFS_C.php

Documentation is available at RDFS_C.php

  1. <?php
  2. /**
  3. *   RDF Vocabulary Description Language 1.0: RDF Schema (RDFS) Vocabulary (Resource)
  4. *
  5. *   @version $Id: fsource_vocabulary__vocabularyRDFS_C.php.html 443 2007-06-01 16:25:38Z cax $
  6. *   @author Daniel Westphal (dawe@gmx.de)
  7. *   @package vocabulary
  8. *
  9. *    Wrapper, defining resources for all terms of the
  10. *    RDF Schema (RDFS).
  11. *    For details about RDFS 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. class RDFS{
  17.  
  18.     function RESOURCE()
  19.     {
  20.         return  new Resource(RDF_SCHEMA_URI 'Resource');
  21.  
  22.     }
  23.  
  24.     function LITERAL()
  25.     {
  26.         return  new Resource(RDF_SCHEMA_URI 'Literal');
  27.  
  28.     }
  29.  
  30.     function RDFS_CLASS()
  31.     {
  32.         return  new Resource(RDF_SCHEMA_URI 'Class');
  33.  
  34.     }
  35.  
  36.     function DATATYPE()
  37.     {
  38.         return  new Resource(RDF_SCHEMA_URI 'Datatype');
  39.  
  40.     }
  41.  
  42.     function CONTAINER()
  43.     {
  44.         return  new Resource(RDF_SCHEMA_URI 'Container');
  45.  
  46.     }
  47.  
  48.     function CONTAINER_MEMBERSHIP_PROPERTY()
  49.     {
  50.         return  new Resource(RDF_SCHEMA_URI 'ContainerMembershipProperty');
  51.  
  52.     }
  53.  
  54.     function SUB_CLASS_OF()
  55.     {
  56.         return  new Resource(RDF_SCHEMA_URI 'subClassOf');
  57.  
  58.     }
  59.  
  60.     function SUB_PROPERTY_OF()
  61.     {
  62.         return  new Resource(RDF_SCHEMA_URI 'subPropertyOf');
  63.  
  64.     }
  65.  
  66.     function DOMAIN()
  67.     {
  68.         return  new Resource(RDF_SCHEMA_URI 'domain');
  69.  
  70.     }
  71.  
  72.     function RANGE()
  73.     {
  74.         return  new Resource(RDF_SCHEMA_URI 'range');
  75.  
  76.     }
  77.  
  78.     function LABEL()
  79.     {
  80.         return  new Resource(RDF_SCHEMA_URI 'label');
  81.  
  82.     }
  83.  
  84.     function COMMENT()
  85.     {
  86.         return  new Resource(RDF_SCHEMA_URI 'comment');
  87.  
  88.     }
  89.  
  90.     function MEMBER()
  91.     {
  92.         return  new Resource(RDF_SCHEMA_URI 'member');
  93.  
  94.     }
  95.  
  96.     function SEEALSO()
  97.     {
  98.         return  new Resource(RDF_SCHEMA_URI 'seeAlso');
  99.  
  100.     }
  101.  
  102.     function IS_DEFINED_BY()
  103.     {
  104.         return  new Resource(RDF_SCHEMA_URI 'isDefinedBy');
  105.     }
  106.  
  107. }
  108. ?>

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