W3C home > Mailing lists > Public > public-lod@w3.org > June 2009

Re: Visualization of domain and range

From: Bernhard Schandl <bernhard.schandl@univie.ac.at>
Date: Sat, 27 Jun 2009 10:00:50 +0200
Cc: Tim rdf <timrdf@gmail.com>, Simon Reinhardt <simon.reinhardt@koeln.de>, public-lod@w3.org, public-semweb-ui@w3.org
Message-Id: <2C53A4B6-2085-4968-847A-484CC7E0F1B0@univie.ac.at>
To: Dan Brickley <danbri@danbri.org>
Tim,

(sorry, somehow your message didn't make it to me ...)

> On 26/6/09 18:22, Tim rdf wrote:
>> [1] http://www.ifs.univie.ac.at/schandl/2009/06/domain+range_bad.png
>>
>> is indicating that
>>
>> foaf:holdsAccount rdfs:domain foaf:Agent; rdfs:range  
>> foaf:OnlineAccount .
>>
>> Is constraining a property with BOTH a domain and range a good design
>> pattern? It seems rather short-sighted with respect to reuse and  
>> extension.

Domain and range are no restrictions in that sense; rather they extend  
the possible (!) interpretations of resources. Hence you don't say,  
"you can use foaf:holdsAccount only with foaf:Agent and  
foaf:OnlineAccount", but rather, "if something has a foaf:holdsAccount  
property then you can interpret it as foaf:Agent, and the value of  
this property can be interpreted as foaf:OnlineAccount".

IMO this is one of the greatest strengths of modelling with RDF(S) and  
OWL.

Best, Bernhard
Received on Saturday, 27 June 2009 08:01:32 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:21 UTC