Re: [HTTP-in-RDF]

Hi Johannes,

I think this is a good idea. Let's discuss at the next teleconference 
before implementing these changes.

Regards,
   Shadi


Johannes Koch wrote:
> 
> Hi group,
> 
> <http://www.w3.org/TR/rdf-schema/#ch_domain>:
>> Where a property P has more than one rdfs:domain property, then the
>  > resources denoted by subjects of triples with predicate P are
>  > instances of all the classes stated by the rdfs:domain properties.
> 
> So where I wrote in the schema for various header properties
> 
>   <rdfs:domain rdf:resource="&http-ns;Request"/>
>   <rdfs:domain rdf:resource="&http-ns;Response"/>
> 
> it's plain rubbish, because when using e.g. an http:accept property in 
> an http:Request, this would make the http:Request an http:Response 
> additionally.
> 
> Instead I should create a class
> 
> <rdfs:Class rdf:about="&http-ns;HttpMessage">
>   <rdfs:label xml:lang="en">HTTP Message</rdfs:label>
>   <rdfs:comment xml:lang="en">An HTTP message</rdfs:comment>
>   <owl:oneOf rdf:parseType="Collection">
>     <owl:Thing rdf:about="&http-ns;Request"/>
>     <owl:Thing rdf:about="&http-ns;Response"/>
>   </owl:oneOf>
> </rdfs:Class>
> 
> with
> 
> <rdfs:Class rdf:about="&http-ns;Request">
>   ...
>   <rdfs:subClassOf rdf:resource="&http-ns;HttpMessage"/>
>   ...
> </rdfs:Class>
> 
> <rdfs:Class rdf:about="&http-ns;Response">
>   ...
>   <rdfs:subClassOf rdf:resource="&http-ns;HttpMessage"/>
>   ...
> </rdfs:Class>
> 
> and the use
> 
>   <rdfs:domain rdf:resource="&http-ns;HttpMessage"/>
> 

-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |

Received on Friday, 2 March 2007 17:20:45 UTC