On 04/04/16 16:15, Stian Soiland-Reyes wrote:

This raises good questions about Quads which I think we should also
think about - e.g. if we imply make a Dataset as a subclass of Graph,
and Quad a subclass of Triple,  then does .size() and .contains()
relate to only the default graph or all the quads?

Triples and Quads are different.

I think .equals brings this out: Java .equals must be transitive.

Q1: <g1> <s> <p> <o>
Q2: <g2> <s> <p> <o>
T:  <s> <p> <o>

Q1 equals T . T equals Q2

but not Q1 equals Q2.

So Set<Triple> ???

        Andy


Reply via email to