sorry, I misunderstood the statement (without examples it is easy to get
confused by words).
So, yes,
FROM :g1
with unionDefaultGraph=true is a noop. However, if the datatset is
:g1 { :s1 :p1 :o1 }
:g2 { :s2 :p2 :o2 }
:g3 { :s3 :p3 :o3 }
and (with unionDefaultGraph=true)
FROM :g1
FROM NAMED :g2
is not a noop in our opinion.
Simon
From:
Andy Seaborne <[email protected]>
To:
[email protected]
Date:
08/24/2012 12:18 PM
Subject:
Re: mixing FROM and FROM NAMED with unionDefaultGraph=true
On 24/08/12 17:05, Simon Helsen wrote:
> "FROM and also including the union is a no-op anyway."
>
> that is your statement
err ... no, it's a fact because a graph is a set of triples. No
duplicates.
If the dataset is:
:g1 { :s1 :p1 :o1 }
:g2 { :s2 :p2 :o2 }
and you have
FROM :g1
together with the union of named graphs we have
:s1 :p1 :o1 # union - g1
:s2 :p2 :o2 # union - g2
:s1 :p1 :o1 # explicit FROM
which because a graph is a set of triples is:
:s1 :p1 :o1
:s2 :p2 :o2
which is the union of the named graph alone.
If you union in any triples already there, it's a no-op.
Andy