Can SPARQL Graph subtract one node group from another? #515
Unanswered
Robert-Adelard
asked this question in
Q&A
Replies: 1 comment
-
As a special case, can I do this if the first node group returns all entities of a particular type, and the second node group returns all entities of that type that satisfy some arbitrarily complex query, in other words, all entities of that type that don't satisfy the property, or do I need to use a UNION and negate each term in the arbitrarily complex query? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SPARQL Graph allows you combine node groups with UNION - is it also possible to subtract node groups using MINUS?
Or can I only apply MINUS to relationships and properties?
Essentially, I want to construct the query
SELECT ?x, ?y, ?z FROM
"some ?x, ?y, ?z pattern"
MINUS {
"some other ?x, ?y, ?z pattern"
}
Is it possible to do this in SPARQL Graph?
Beta Was this translation helpful? Give feedback.
All reactions