source: Dev/trunk/rdfapi/vocabulary/RDF.php @ 12

Last change on this file since 12 was 12, checked in by basvannuland, 14 years ago

Added RAP RDF API
Added RDF reader writer for save and load survey

File size: 2.2 KB
Line 
1<?php
2/**
3*   Resource Description Framework (RDF) Vocabulary
4*
5*   @version $Id: RDF.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*   Resource Description Framework (RDF).
11*   For details about RDF see: http://www.w3.org/RDF/.
12*   Using the wrapper allows you to define all aspects of
13*   the vocabulary in one spot, simplifing implementation and
14*   maintainence.
15*/
16
17
18// RDF concepts (constants are defined in constants.php)
19$RDF_Alt = new Resource(RDF_NAMESPACE_URI . RDF_ALT);
20$RDF_Bag = new Resource(RDF_NAMESPACE_URI . RDF_BAG);
21$RDF_Property = new Resource(RDF_NAMESPACE_URI . RDF_PROPERTY);
22$RDF_Seq = new Resource(RDF_NAMESPACE_URI . RDF_SEQ);
23$RDF_Statement = new Resource(RDF_NAMESPACE_URI . RDF_STATEMENT);
24$RDF_List = new Resource(RDF_NAMESPACE_URI . RDF_LIST);
25$RDF_nil = new Resource(RDF_NAMESPACE_URI . RDF_NIL);
26$RDF_type = new Resource(RDF_NAMESPACE_URI . RDF_TYPE);
27$RDF_rest = new Resource(RDF_NAMESPACE_URI . RDF_REST);
28$RDF_first = new Resource(RDF_NAMESPACE_URI . RDF_FIRST);
29$RDF_subject = new Resource(RDF_NAMESPACE_URI . RDF_SUBJECT);
30$RDF_predicate = new Resource(RDF_NAMESPACE_URI . RDF_PREDICATE);
31$RDF_object = new Resource(RDF_NAMESPACE_URI . RDF_OBJECT);
32$RDF_Description = new Resource(RDF_NAMESPACE_URI . RDF_DESCRIPTION);
33$RDF_ID = new Resource(RDF_NAMESPACE_URI . RDF_ID);
34$RDF_about = new Resource(RDF_NAMESPACE_URI . RDF_ABOUT);
35$RDF_aboutEach = new Resource(RDF_NAMESPACE_URI . RDF_ABOUT_EACH);
36$RDF_aboutEachPrefix = new Resource(RDF_NAMESPACE_URI . RDF_ABOUT_EACH_PREFIX);
37$RDF_bagID = new Resource(RDF_NAMESPACE_URI . RDF_BAG_ID);
38$RDF_resource = new Resource(RDF_NAMESPACE_URI . RDF_RESOURCE);
39$RDF_parseType = new Resource(RDF_NAMESPACE_URI . RDF_PARSE_TYPE);
40$RDF_Literal = new Resource(RDF_NAMESPACE_URI . RDF_PARSE_TYPE_LITERAL);
41$RDF_Resource = new Resource(RDF_NAMESPACE_URI . RDF_PARSE_TYPE_RESOURCE);
42$RDF_li = new Resource(RDF_NAMESPACE_URI . RDF_LI);
43$RDF_nodeID = new Resource(RDF_NAMESPACE_URI . RDF_NODEID);
44$RDF_datatype = new Resource(RDF_NAMESPACE_URI . RDF_DATATYPE);
45$RDF_seeAlso = new Resource(RDF_NAMESPACE_URI . RDF_SEEALSO);
46
47
48
49?>
Note: See TracBrowser for help on using the repository browser.