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

[HTTP-in-RDF] sub-class approach for methods?

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Wed, 01 Apr 2009 10:11:44 +0200
Message-ID: <49D321C0.7020503@fit.fraunhofer.de>
To: ERT WG <public-wai-ert@w3.org>
Hi group,

in EARL we defined the outcome values as sub-classes of 
earl:OutcomeValue, and the test modes as sub-classes of earl:TestMode.

Should we use the same approach for the methods and status codes in 
HTTP-in-RDF?

E.g.:

<rdfs:Class rdf:about="#CONNECT">
   <dc:title xml:lang="en">CONNECT</dc:title>
   <dc:description xml:lang="en">The HTTP CONNECT method</dc:description>
   <rdfs:isDefinedBy 
rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
   <rdfs:subClassOf rdf:resource="http://www.w3.org/2006/http#Method"/>
</rdfs:Class>

and

<rdfs:Class rdf:about="#StatusCode1xx">
   <dc:title xml:lang="en">Informational</dc:title>
   <dc:description xml:lang="en">A status code starting with 
1</dc:description>
   <rdfs:subClassOf rdf:resource="http://www.w3.org/2006/http#StatusCode"/>
</rdfs:Class>

<rdfs:Class rdf:about="#StatusCode100">
   <dc:title xml:lang="en">Continue</dc:title>
   <dct:isPartOf rdf:resource="#statusCodeGroup1xx"/>
   <rdfs:isDefinedBy 
rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
   <rdfs:subClassOf 
rdf:resource="http://www.w3.org/2006/http-statusCodes#StatusCode1xx"/>
</rdfs:Class>



I'm currently not sure about the header names.

-- 
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
Received on Wednesday, 1 April 2009 08:12:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 April 2009 08:12:25 GMT