Re: Equality of RDF bags

On Oct 28, 2011, at 1:59 AM, Heiko Paulheim wrote:

> Dear Pat,
>> The graphs are different.
> 
> that hits me. If I consider the following three graphs:
> 
> Graph 1:
> :b a rdf:Bag .
> :b rdf:li :ABook .
> :b rdf:li :AnotherBook .

rdf:li isnt meaningful outside RDF/XML, so in this graph it might as well be ex:whatever. So indeed. this graph is not equivalent to the other two. 

> 
> Graph 2a:
> :b a rdf:Bag .
> :b rdf:_1 :ABook .
> :b rdf:_2 :AnotherBook .
> 
> Graph 2b:
> :b a rdf:Bag .
> :b rdf:_1 :AnotherBook .
> :b rdf:_2 :ABook .
> 
> Given that the order of triples in an RDF document (especially in Graph 1) is considered not to be significant, is Graph 1 equivalent rather to 2a or 2b (while the latter two, as you say, are not equivalent to each other)?

No, all three are different graphs. But to emphasise again, this does not mean that they are describing different bags. The graph is only a *description*. The same thing - in this case, a small bag - can often be described in a number of different ways, all correct although different from one another. 

Pat

> 
> Thanks,
> Heiko.
> 
> 

------------------------------------------------------------
IHMC                                     (850)434 8903 or (650)494 3973   
40 South Alcaniz St.           (850)202 4416   office
Pensacola                            (850)202 4440   fax
FL 32502                              (850)291 0667   mobile
phayesAT-SIGNihmc.us       http://www.ihmc.us/users/phayes

Received on Saturday, 29 October 2011 19:38:05 UTC