W3C home > Mailing lists > Public > public-wai-ert@w3.org > May 2009

[HTTP-in-RDF] new version

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Thu, 14 May 2009 13:19:30 +0200
Message-ID: <4A0BFE42.8060703@fit.fraunhofer.de>
To: ERT WG <public-wai-ert@w3.org>
Hi group,

here's a new version of HTTP-in-RDF (specification, RDF schema and 
additional RDF files). I removed the StatusCodeGroup class in favour of 
sub-classes defined in http-statusCodes.rdf according to the comment by 
the AWWSW group.


Some issues still:

1. 3.1 body Property

In answer to the comment by the AWWSW group, I removed multiple versions 
of content, only used Base64Content. We must decide what mechanism to 
use to connect cnt:TextContent/cnt:XMLContent (or whatever it is renamed 
to?) resources to cnt:Base64Content resources, e.g. via dct:source. See 
example in Appendix A.


2. 3.18 requestURI Property

Should we remove the asterisk value? AWWSW comments:

> Your modeling of the requestURI as either a literal or the resource named by 'asterisk' is going to be a problem for OWL; I suggest modeling this in some other way, perhaps with a new property that is true when the request URI is wild and false when it isn't.


3. 4 Conformance

We need fancier word for "HTTP-in-RDF Graph".


4.2 Conforming Producers

Should conforming producers be required to fully support Content-in-RDF?


4.3 Conforming Consumers

Should conforming consumers be required to fully support Content-in-RDF?

-- 
Johannes Koch
Fraunhofer Institute for Applied Information Technology FIT
Web Compliance Center
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

<?xml version="1.0"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:http="http://www.w3.org/2006/http#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xml:base="http://www.w3.org/2006/http">

  <rdf:Description rdf:about="#">
    <rdfs:comment xml:lang="en">A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)</rdfs:comment>
  </rdf:Description>

  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="http://purl.org/dc/dcam/"/>
    <owl:imports rdf:resource="http://purl.org/dc/elements/1.1/"/>
  </owl:Ontology>

  <!-- Classes -->
  <rdfs:Class rdf:about="#Connection">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:comment xml:lang="en">A connection used for HTTP transfer.</rdfs:comment>
    <rdfs:label xml:lang="en">Connection</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#HeaderElement">
    <rdfs:comment xml:lang="en">A part of a deconstructed header value.</rdfs:comment>
    <rdfs:label xml:lang="en">Header Element</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#HeaderName">
    <rdfs:comment xml:lang="en">A header name.</rdfs:comment>
    <rdfs:label xml:lang="en">Header Name</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#Message">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:comment xml:lang="en">An HTTP message.</rdfs:comment>
    <rdfs:label xml:lang="en">Message</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#MessageHeader">
    <rdfs:comment xml:lang="en">A header in an HTTP message.</rdfs:comment>
    <rdfs:label xml:lang="en">Message Header</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#Method">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:comment xml:lang="en">The HTTP method used for the request.</rdfs:comment>
    <rdfs:label xml:lang="en">Method</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#Param">
    <rdfs:comment xml:lang="en">A parameter for a part of a header value.</rdfs:comment>
    <rdfs:label xml:lang="en">Parameter</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#Request">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:subClassOf rdf:resource="#Message"/>
    <rdfs:comment xml:lang="en">An HTTP request.</rdfs:comment>
    <rdfs:label xml:lang="en">Request</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#Response">
    <rdfs:subClassOf rdf:resource="#Message"/>
    <rdfs:comment xml:lang="en">An HTTP response.</rdfs:comment>
    <rdfs:label xml:lang="en">Response</rdfs:label>
  </rdfs:Class>

  <rdfs:Class rdf:about="#StatusCode">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:comment xml:lang="en">The status code of an HTTP response.</rdfs:comment>
    <rdfs:label xml:lang="en">Status code</rdfs:label>
  </rdfs:Class>

  <!-- Properties -->
  <rdf:Property rdf:about="#absoluteURI">
    <rdfs:subPropertyOf rdf:resource="#requestURI"/>
    <rdfs:comment xml:lang="en">The absolute request URI.</rdfs:comment>
    <rdfs:label xml:lang="en">Absolute URI</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#abs_path">
    <rdfs:subPropertyOf rdf:resource="#requestURI"/>
    <rdfs:comment xml:lang="en">The absolute path sort of request URI.</rdfs:comment>
    <rdfs:label xml:lang="en">Absolute path</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#authority">
    <rdfs:subPropertyOf rdf:resource="#requestURI"/>
    <rdfs:comment xml:lang="en">The authority sort of request URI.</rdfs:comment>
    <rdfs:label xml:lang="en">Authority</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#body">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:domain rdf:resource="#Message"/>
    <rdfs:comment xml:lang="en">The entity body of an HTTP message.</rdfs:comment>
    <rdfs:label xml:lang="en">Entity Body</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#connectionAuthority">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Connection"/>
    <rdfs:comment xml:lang="en">The authority of a connection used for the HTTP transfer.</rdfs:comment>
    <rdfs:label xml:lang="en">Connection authority</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#elementName">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#HeaderElement"/>
    <rdfs:comment xml:lang="en">The name of a header element.</rdfs:comment>
    <rdfs:label xml:lang="en">Header element name</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#elementValue">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#HeaderElement"/>
    <rdfs:comment xml:lang="en">The value of a header element.</rdfs:comment>
    <rdfs:label xml:lang="en">Header element value</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#fieldName">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#MessageHeader"/>
    <rdfs:comment xml:lang="en">The name of an HTTP header field.</rdfs:comment>
    <rdfs:label xml:lang="en">Field name</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#fieldValue">
    <rdfs:domain rdf:resource="#MessageHeader"/>
    <rdfs:comment xml:lang="en">The value of an HTTP header field.</rdfs:comment>
    <rdfs:label xml:lang="en">Field value</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#headerElements">
    <rdfs:domain rdf:resource="#MessageHeader"/>
    <rdfs:comment xml:lang="en">The deconstructed parts of an HTTP header value.</rdfs:comment>
    <rdfs:label xml:lang="en">Header elements</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#headerName">
    <rdfs:range rdf:resource="#HeaderName"/>
    <rdfs:domain rdf:resource="#MessageHeader"/>
    <rdfs:comment xml:lang="en">The name of an HTTP header.</rdfs:comment>
    <rdfs:label xml:lang="en">Header name</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#headers">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:domain rdf:resource="#Message"/>
    <rdfs:comment xml:lang="en">The headers in an HTTP message.</rdfs:comment>
    <rdfs:label xml:lang="en">Headers</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#httpVersion">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Message"/>
    <rdfs:comment xml:lang="en">The HTTP version of an HTTP message.</rdfs:comment>
    <rdfs:label xml:lang="en">HTTP version</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#method">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="#Method"/>
    <rdfs:domain rdf:resource="#Request"/>
    <rdfs:comment xml:lang="en">The HTTP method used for the HTTP request.</rdfs:comment>
    <rdfs:label xml:lang="en">Method</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#methodName">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Request"/>
    <rdfs:comment xml:lang="en">The HTTP method name used for the HTTP request.</rdfs:comment>
    <rdfs:label xml:lang="en">Method name</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#paramName">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Param"/>
    <rdfs:comment xml:lang="en">The name of a parameter in a part of a deconstructed HTTP header value.</rdfs:comment>
    <rdfs:label xml:lang="en">Parameter name</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#params">
    <rdfs:domain rdf:resource="#HeaderElement"/>
    <rdfs:comment xml:lang="en">The parameters in a part of a deconstructed HTTP header value.</rdfs:comment>
    <rdfs:label xml:lang="en">Header parameters</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#paramValue">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Param"/>
    <rdfs:comment xml:lang="en">The value of a parameter in a part of a deconstructed HTTP header value.</rdfs:comment>
    <rdfs:label xml:lang="en">Parameter value</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#reasonPhrase">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Response"/>
    <rdfs:comment xml:lang="en">The reason phrase (status text) of an HTTP response.</rdfs:comment>
    <rdfs:label xml:lang="en">Reason phrase</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#requests">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:domain rdf:resource="#Connection"/>
    <rdfs:comment xml:lang="en">The HTTP requests made via a connection.</rdfs:comment>
    <rdfs:label xml:lang="en">Requests</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#requestURI">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:domain rdf:resource="#Request"/>
    <rdfs:comment xml:lang="en">The request URI of an HTTP request.</rdfs:comment>
    <rdfs:label xml:lang="en">Request URI</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#response">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="#Response"/>
    <rdfs:domain rdf:resource="#Request"/>
    <rdfs:comment xml:lang="en">The HTTP response sent in answer to an HTTP request.</rdfs:comment>
    <rdfs:label xml:lang="en">Response</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#statusCode">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="#StatusCode"/>
    <rdfs:domain rdf:resource="#Response"/>
    <rdfs:comment xml:lang="en">The status code of an HTTP response.</rdfs:comment>
    <rdfs:label xml:lang="en">Status code</rdfs:label>
  </rdf:Property>

  <rdf:Property rdf:about="#statusCodeNumber">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Response"/>
    <rdfs:comment xml:lang="en">The status code number of an HTTP response.</rdfs:comment>
    <rdfs:label xml:lang="en">Status code</rdfs:label>
  </rdf:Property>

  <rdf:Description rdf:about="#asterisk">
    <rdfs:isDefinedBy rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
    <dc:description xml:lang="en">The asterisk as a request URI</dc:description>
    <dc:title xml:lang="en">Asterisk</dc:title>
  </rdf:Description>

</rdf:RDF>
Received on Thursday, 14 May 2009 11:20:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 May 2009 11:20:10 GMT