RDF
[ class tree: RDF ] [ index: RDF ] [ all elements ]

Source for file RDFS.php

Documentation is available at RDFS.php

  1. <?php 
  2. // ----------------------------------------------------------------------------------
  3. // RDF Vocabulary Description Language 1.0: RDF Schema (RDFS) Vocabulary
  4. // ----------------------------------------------------------------------------------
  5. // Version                   : 0.4
  6. // Authors                   : Daniel Westphal (dawe@gmx.de)
  7.  
  8. // Description               : Wrapper, defining resources for all terms of the
  9. // RDF Schema (RDFS).
  10. // For details about RDF see: http://www.w3.org/TR/rdf-schema/.
  11. // Using the wrapper allows you to define all aspects of
  12. // the vocabulary in one spot, simplifing implementation and
  13. // maintainence. Working with the vocabulary, you should use
  14. // these resources as shortcuts in your code.
  15. // 
  16. // RDFS concepts
  17. $RDFS_Resource =RDF_Resource::factory(RDF_SCHEMA_URI . 'Resource');
  18. $RDFS_Literal =RDF_Resource::factory(RDF_SCHEMA_URI . 'Literal');
  19. $RDFS_Class =RDF_Resource::factory(RDF_SCHEMA_URI . 'Class');
  20. $RDFS_Datatype =RDF_Resource::factory(RDF_SCHEMA_URI . 'Datatype');
  21. $RDFS_Container =RDF_Resource::factory(RDF_SCHEMA_URI . 'Container');
  22. $RDFS_ContainerMembershipProperty =RDF_Resource::factory(RDF_SCHEMA_URI . 'ContainerMembershipProperty');
  23. $RDFS_subClassOf =RDF_Resource::factory(RDF_SCHEMA_URI . 'subClassOf');
  24. $RDFS_subPropertyOf =RDF_Resource::factory(RDF_SCHEMA_URI . 'subPropertyOf');
  25. $RDFS_domain =RDF_Resource::factory(RDF_SCHEMA_URI . 'domain');
  26. $RDFS_range =RDF_Resource::factory(RDF_SCHEMA_URI . 'range');
  27. $RDFS_label =RDF_Resource::factory(RDF_SCHEMA_URI . 'label');
  28. $RDFS_comment =RDF_Resource::factory(RDF_SCHEMA_URI . 'comment');
  29. $RDFS_member =RDF_Resource::factory(RDF_SCHEMA_URI . 'member');
  30. $RDFS_seeAlso =RDF_Resource::factory(RDF_SCHEMA_URI . 'seeAlso');
  31. $RDFS_isDefinedBy =RDF_Resource::factory(RDF_SCHEMA_URI . 'isDefinedBy');
  32.  
  33. ?>

Documentation generated on Mon, 11 Mar 2019 15:39:29 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.