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


From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Fri, 02 Mar 2007 11:30:18 +0100
Message-ID: <45E7FCBA.9020808@fit.fraunhofer.de>
To: ERT group <public-wai-ert@w3.org>

Hi group,

> 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 

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"/>


<rdfs:Class rdf:about="&http-ns;Request">
   <rdfs:subClassOf rdf:resource="&http-ns;HttpMessage"/>

<rdfs:Class rdf:about="&http-ns;Response">
   <rdfs:subClassOf rdf:resource="&http-ns;HttpMessage"/>

and the use

   <rdfs:domain rdf:resource="&http-ns;HttpMessage"/>

Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065
Received on Friday, 2 March 2007 10:32:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:55 UTC