W3C home > Mailing lists > Public > public-wai-ert@w3.org > July 2008

Problems with use of rdfs:domain in RDFS

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Wed, 02 Jul 2008 10:57:59 +0200
Message-ID: <486B4317.6000308@fit.fraunhofer.de>
To: public-wai-ert@w3.org


as CarlosI reused the chars and bytes properties from the Content-in-RDF 
vocabulary, I had a look at their definitions in the Content-in-RDF RDF 

The rdfs:domain for bytes is

   <rdfs:domain rdf:resource="#Base64Content"/>

and the domain for chars is

   <rdfs:domain rdf:resource="#TextContent"/>

which by RDFS rules makes all resources using these properties of type 
cnt:Base64Content or cnt:TextContent. So a ptr:CharSnippetRangePointer 
resource using cnt:chars will also be a cnt:TextContent resource. I 
don't think we want that, do we?

So my proposal is to remove the rdfs:domain from the properties.

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 Wednesday, 2 July 2008 08:58:37 UTC

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