You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the expected results, it looks like implementations are expected to perform an inner join between the ?s and ?p within the quoted triple patterns. However, since we're performing a UNION, I would expect such an inner join not to be required. Instead, I would expect 5 results for this query, instead of only 2.
Am I missing something here, and does the UNION operation introduce some special semantics wrt. quoted triple patterns?
Or is the test incorrect?
The text was updated successfully, but these errors were encountered:
Just to be sure: have you seen that the ?p variable is present both inside of the quoted triples and in the root pattern, leading to a join of the predicate of the quoted triple with the predicate of the root triple?
This leads the first pattern <<?s ?p :o>> ?p ?z to only matches the second triple of the dataset (<<:s2 :p :o>> :p "same-p") and the second pattern ?z ?p <<?s ?p :o>> to only matches the fifth triple of the dataset (:z2 :p << :s2 :p :o >>).
Just to be sure: have you seen that the ?p variable is present both inside of the quoted triples and in the root pattern, leading to a join of the predicate of the quoted triple with the predicate of the root triple?
Ah indeed, that's what I was missing. Thanks for clearing that up :-)
I'm looking at the SPARQL eval test sparql-star-pattern-9,
and I'm confused as to why the expected results are defined in the way they are.
The query is as follows:
Dataset:
The expected results are:
From the expected results, it looks like implementations are expected to perform an inner join between the
?s
and?p
within the quoted triple patterns. However, since we're performing a UNION, I would expect such an inner join not to be required. Instead, I would expect 5 results for this query, instead of only 2.Am I missing something here, and does the
UNION
operation introduce some special semantics wrt. quoted triple patterns?Or is the test incorrect?
The text was updated successfully, but these errors were encountered: