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

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 UTC