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

[HTTP-in-RDF] "Simplified" approach

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Tue, 29 May 2007 09:40:43 +0200
Message-ID: <465BD8FB.9090505@fit.fraunhofer.de>
To: public-wai-ert@w3.org
Hi group and other readers,

please find attached a new "simplified" approach.

legend:

pfx:ClassName [comment]
- pfx:propertyName (object type)

Feel free to send comments.
-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065

http:Connection
|- http:connectionAuthority (rdfs:Literal)
|- http:request (http:Request)

http:Request
|- http:method (rdfs:Literal or predefined http:Method resource?)
|- http:requestURI (rdfs:Literal or predefined http:asterisk?)
|- http:httpVersion (rdfs:Literal)
|- http:response (http:Response)

http:Method [with predefined resources for each method]

http:absoluteURI rdfs:subPropertyOf http:requestURI

http:abs_path rdfs:subPropertyOf http:requestURI

http:authority rdfs:subPropertyOf http:requestURI

http:Response
|- http:httpVersion (rdfs:Literal)
|- http:statusCode (rdfs:Literal, typed: 3Digit)
|- http:reasonPhrase (rdfs:Literal)
|- http:header (http:MessageHeader)
|- http:content (can be single http:Content or rdf:Alt of http:Content)

http:MessageHeader
|- http:fieldName (rdfs:Literal)
|- http:headerName (predefined httph:HeaderName resource)
|- http:fieldValue (rdfs:Literal or http:HeaderElement)

httph:HeaderName [with predefined resources for each registered header]

http:HeaderElement
|- http:elementName (rdfs:Literal)
|- http:elementValue (rdfs:Literal)
|- http:param (http:Param)

http:Param
|- http:paramName (rdfs:Literal)
|- http:paramValue (rdfs:Literal)

http:Content [see subclasses below]


I'm not sure whether the following classes should belong to the http namespace.

x:Base64Content rdfs:subClassOf http:Content
|- x:bytes (rdfs:Literal, typed: xsd:base64Binary)

x:TextContent rdfs:subClassOf http:Content
|- x:chars (rdfs:Literal)

x:XMLContent rdfs:subClassOf http:Content
|- x:leadingMisc (rdfs:XMLLiteral)
|- x:docTypeDecl (x:DocTypeDecl)
|- x:rest (rdfs:XMLLiteral)

x:DocTypeDecl
|- x:name (rdfs:Literal)
|- x:publicId (rdfs:Literal)
|- x:systemId (rdfs:Literal, typed: xsd:anyURI)
|- x:internalSubset (rdfs:Literal)
Received on Tuesday, 29 May 2007 07:41:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:28 GMT