HTTP-in-RDF implementation

Cognition 0.1-alpha14 <http://buzzword.org.uk/cognition/> will  
include an implementation of the HTTP vocabulary in RDF.

Previously, it represented HTTP response headers roughly like this:

     <rdf:Description rdf:about="http://example.com/foo"
         xmlns:http="urn:ietf:rfc:2616#">
       <http:content-type>text/html; charset=utf-8</http:content-type>
       <http:server>Apache/2.1</http:server>
       <!-- etc... -->
     </rdf:Description>

Now it's been replaced with the new vocabulary. I plan to release it  
for download tomorrow, but you can try it online at http:// 
srv.buzzword.org.uk already.

I realise it's past the deadline for feedback, but I have one thing  
I'd like to mention. Say I have:

     <http:Request>
       <http:methodName>GET</http:methodName>
       <http:absoluteURI>http://example.org/foo</http:absoluteURI>
       <http:response>
         <http:Response>
           <http:statusCodeNumber>200</http:statusCodeNumber>
         </http:Response>
       </http:response>
     </http:Request>

And I also have some triples pertaining to the document itself:

     <rdf:Description rdf:about="http://example.org/foo">
       <dc:title>Foo</dc:title>
       <dc:creator>John Citizen</dc:creator>
     </rdf:Description>

It would be nice if there were some sort of predicate for linking  
from the Request resource to the Description resource, or vice versa.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Friday, 21 November 2008 14:03:52 UTC