W3C home > Mailing lists > Public > public-prov-wg@w3.org > September 2011

Re: PROV-ISSUE-89 (what-entity-attributes): How do we find the attributes of an entity? [Formal Model]

From: Graham Klyne <GK@ninebynine.org>
Date: Fri, 09 Sep 2011 17:20:32 +0100
Message-ID: <4E6A3CD0.6000809@ninebynine.org>
To: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
CC: Luc Moreau <L.Moreau@ecs.soton.ac.uk>, Satya Sahoo <satya.sahoo@case.edu>, public-prov-wg@w3.org
On 09/09/2011 14:32, Stian Soiland-Reyes wrote:
> :e3 a prov:Entity ;
>    prov:wasCharacterisedBy [
>       car:company "Toyota" ;
>       car:model "Corolla" ;
>       car:identification "1a" ;
>       car:owner [
>         foaf:name "Luc Moreau" ;
>         foaf:based_near "Southampton"
>       ]
>    ] .
>
> However this causes problems the moment you want to use URIs. If you
> said simply
>    car:owner<http://id.ecs.soton.ac.uk/person/391>
> then we can't say anything more about
> <http://id.ecs.soton.ac.uk/person/391>  within this 'was characterised
> by'.

Stian,

I'm not seeing your problem - you can still say, e.g.

[[
:e3 a prov:Entity ;
   prov:wasCharacterisedBy [
      car:company "Toyota" ;
      car:model "Corolla" ;
      car:identification "1a" ;
      car:owner <http://id.ecs.soton.ac.uk/person/391>
   ] .

<http://id.ecs.soton.ac.uk/person/391>
        foaf:name "Luc Moreau" ;
        foaf:based_near "Southampton" .
]]


That is, the [ ... ] isn't a scoping or grouping mechanism but a syntactic sugar 
for:

[[
:e3 a prov:Entity ;
   prov:wasCharacterisedBy _:b1 .

_:b1 car:company "Toyota" ;
      car:model "Corolla" ;
      car:identification "1a" ;
      car:owner _:b2 .

_:b2   foaf:name "Luc Moreau" ;
        foaf:based_near "Southampton" .
]]

Using this form, replacing blank nodes with URIs makes no structural difference 
to the overall shape of the RDF.

#g
--
Received on Friday, 9 September 2011 16:54:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 13:06:41 GMT