Appendix C: RDF Schemas for Resources Lists
URI in RDF: simple resources
The following scheme can be used to express a simple online resource (see section 4). The work has been submitted to Evaluation and Repair Working Group of WAI, and might become a W3C Working Group Note.
- <?xml version="1.0" encoding="utf-8"?>
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> - <rdf:Description rdf:about="http://wabcluster.org/ns/2006/uri#">
- <rdfs:comment>
- A namespace for describing Uniform Resource Identifiers
- </rdfs:comment>
- </rdf:Description>
- <rdfs:Class rdf:about="http://wabcluster.org/ns/2006/uri#URI">
- <rdfs:label xml:lang="en">URI</rdfs:label>
- <rdfs:comment>A Uniform Resource Identifier</rdfs:comment>
- </rdfs:Class>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#scheme">
- <rdfs:label xml:lang="en">Scheme</rdfs:label>
- <rdfs:comment>The scheme</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#user-info">
- <rdfs:label xml:lang="en">User-Info</rdfs:label>
- <rdfs:comment>The user-info</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#host">
- <rdfs:label xml:lang="en">Host</rdfs:label>
- <rdfs:comment>The host</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#port">
- <rdfs:label xml:lang="en">Port</rdfs:label>
- <rdfs:comment>The port</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#path">
- <rdfs:label xml:lang="en">Path</rdfs:label>
- <rdfs:comment>The path</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#query">
- <rdfs:label xml:lang="en">Query</rdfs:label>
- <rdfs:comment>The query string</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- <rdf:Property rdf:about="http://wabcluster.org/ns/2006/uri#fragment">
- <rdfs:label xml:lang="en">Fragment</rdfs:label>
- <rdfs:comment>The fragment</rdfs:comment>
- <rdfs:domain rdf:resource="http://wabcluster.org/ns/2006/uri#URI" />
- </rdf:Property>
- </rdf:RDF>
HTTP in RDF: HTTP resources
HTTP resources can be expressed as per the W3C Working Group Note: HTTP in RDF [HTTP-RDF]. Note that this note might be modified to include the aforementioned schema and replace some of the Classes of [HTTP-RDF]. Note that for HTTP Resources that do not offer any content negotiation, HTTP resources can be represented as simple resources.
Resources Lists
Resources lists can be expressed as a simple RDF Sequence containing a list of simple or HTTP resources (see below for an example).
- <?xml version="1.0" encoding="UTF-8"?>
- <rdf:RDF
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:http="http://www.w3.org/1999/xx/http#"
- xmlns:uwemURI="http://wabcluster.org/ns/2006/uri#">
- <rdf:Seq rdf:about="http://example.org/20060331/test1">
- <rdf:li rdf:resource="http://example.org/20060331/test1/res1"/>
- <rdf:li rdf:resource="http://example.org/20060331/test1/res2"/>
- <rdf:li rdf:resource="http://example.org/20060331/test1/res3"/>
- </rdf:Seq>
- <uwemURI:URI rdf:about="http://example.org/20060331/test1/res1">
- <uwemURI:scheme>http</uwemURI:scheme>
- <uwemURI:host>www.europa.eu.int</uwemURI:host>
- <uwemURI:path>/abc/history/index_en.htm</uwemURI:path>
- </uwemURI:URI>
- <uwemURI:URI rdf:about="http://example.org/20060331/test1/res2">
- <uwemURI:scheme>http</uwemURI:scheme>
- <uwemURI:host>www.europa.eu.int</uwemURI:host>
- <uwemURI:path>/abc/history/1962/index_en.htm</uwemURI:path>
- </uwemURI:URI>
- <http:GetRequest rdf:about="http://example.org/20060331/test1/res3">
- <uwemURI:scheme>http</uwemURI:scheme>
- <uwemURI:host>www.europa.eu.int</uwemURI:host>
- <uwemURI:path>/abc/history/1962/index_en.htm</uwemURI:path>
- <http:version>1.1</http:version>
- <http:accept>text/html;q=1.0, */*;q=0.01</http:accept>
- <http:acceptLanguage>de-DE;q=1.0, de;q=0.75, en-GB;q=0.5,
- en;q=0.25, *;q=0.01</http:acceptLanguage>
- </http:GetRequest>
- </rdf:RDF>

