source: Dev/branches/rest-dojo-ui/Demo/rdfapi/vocabulary/RDFS_RES.php @ 312

Last change on this file since 312 was 312, checked in by jkraaijeveld, 13 years ago
File size: 1.9 KB
Line 
1<?php
2/**
3*   RDF Vocabulary Description Language 1.0: RDF Schema (RDFS) Vocabulary (ResResource)
4*
5*   @version $Id: RDFS_RES.php 431 2007-05-01 15:49:19Z cweiske $
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*/
16class RDFS_RES{
17
18        function RESOURCE()
19        {
20                return  new ResResource(RDF_SCHEMA_URI . 'Resource');
21
22        }
23
24        function LITERAL()
25        {
26                return  new ResResource(RDF_SCHEMA_URI . 'Literal');
27
28        }
29
30        function RDFS_CLASS()
31        {
32                return  new ResResource(RDF_SCHEMA_URI . 'Class');
33
34        }
35
36        function DATATYPE()
37        {
38                return  new ResResource(RDF_SCHEMA_URI . 'Datatype');
39
40        }
41
42        function CONTAINER()
43        {
44                return  new ResResource(RDF_SCHEMA_URI . 'Container');
45
46        }
47
48        function CONTAINER_MEMBERSHIP_PROPERTY()
49        {
50                return  new ResResource(RDF_SCHEMA_URI . 'ContainerMembershipProperty');
51
52        }
53
54        function SUB_CLASS_OF()
55        {
56                return  new ResResource(RDF_SCHEMA_URI . 'subClassOf');
57
58        }
59
60        function SUB_PROPERTY_OF()
61        {
62                return  new ResResource(RDF_SCHEMA_URI . 'subPropertyOf');
63
64        }
65
66        function DOMAIN()
67        {
68                return  new ResResource(RDF_SCHEMA_URI . 'domain');
69
70        }
71
72        function RANGE()
73        {
74                return  new ResResource(RDF_SCHEMA_URI . 'range');
75
76        }
77
78        function LABEL()
79        {
80                return  new ResResource(RDF_SCHEMA_URI . 'label');
81
82        }
83
84        function COMMENT()
85        {
86                return  new ResResource(RDF_SCHEMA_URI . 'comment');
87
88        }
89
90        function MEMBER()
91        {
92                return  new ResResource(RDF_SCHEMA_URI . 'member');
93
94        }
95
96        function SEEALSO()
97        {
98                return  new ResResource(RDF_SCHEMA_URI . 'seeAlso');
99
100        }
101
102        function IS_DEFINED_BY()
103        {
104                return  new ResResource(RDF_SCHEMA_URI . 'isDefinedBy');
105        }
106}
107?>
Note: See TracBrowser for help on using the repository browser.