- From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
- Date: Fri, 02 Mar 2007 11:30:18 +0100
- To: ERT group <public-wai-ert@w3.org>
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"/> -- 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