- From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
- Date: Thu, 23 Nov 2006 16:39:19 +0100
- To: ERT group <public-wai-ert@w3.org>
Hi group,
I took an action item about modelling simple and more complicated HTTP
conversation in RDF. Three use cases: 1. simple request/response, 2.
transparent content negotiation, 3. redirection
1. simple request/response
earl:WebContent
|- ...
|- earl:httpRequest
| |- http:GetRequest
| |- uri:uri http://www.example.org/
| |- http:version 1.1
| |- http:host www.example.org
| |- ...
|- earl:httpResponse
|- http:Response
|- http:responseCode 200
|- http:content-type text/html;charset=utf-8
|- http:body lrjgqn538t3gglhhp30483
|- ...
2. transparent content negotiation
earl:WebContent (rdf:id="wc1")
|- ...
|- earl:httpRequest
| |- http:GetRequest
| |- uri:uri http://www.example.org/
| |- http:version 1.1
| |- http:host www.example.org
| |- ...
|- earl:httpResponse
|- http:Response
|- http:responseCode 300
|- http:tcn list
|- http:alternates {"en/" 0.9 {type text/html} {language en}},
| {"fr/" 1.0 {type text/html} {language fr}}
|- http:content-type text/html;charset=utf-8
|- http:body oego3h01thh3olh3t
|- ...
earl:WebContent (rdf:id="wc2")
|- ...
|- earl:httpRequest
| |- http:GetRequest
| |- uri:uri http://www.example.org/en/
| |- http:version 1.1
| |- http:host www.example.org
| |- ...
|- earl:httpResponse
|- http:Response
|- http:responseCode 200
|- http:content-type text/html;charset=utf-8
|- http:body lrjgqn538t3gglhhp30483
|- ...
3. redirection
earl:WebContent (rdf:id="wc1")
|- ...
|- earl:httpRequest
| |- http:GetRequest
| |- uri:uri http://www.example.org/
| |- http:version 1.1
| |- http:host www.example.org
| |- ...
|- earl:httpResponse
|- http:Response
|- http:responseCode 302
|- http:content-type text/html;charset=utf-8
|- http:location http://www.example.org/foo
|- http:body oego3h01thh3olh3t
|- ...
earl:WebContent (rdf:id="wc2")
|- ...
|- earl:httpRequest
| |- http:GetRequest
| |- uri:uri http://www.example.org/foo
| |- http:version 1.1
| |- http:host www.example.org
| |- ...
|- earl:httpResponse
|- http:Response
|- http:responseCode 200
|- http:content-type text/html;charset=utf-8
|- http:body lrjgqn538t3gglhhp30483
|- ...
--
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628 Fax: +49-2241-142065
Received on Thursday, 23 November 2006 15:40:02 UTC