Description
Recap
Issues: sparql-query/issues for EXISTS
After TPAC 2023, an email was sent to interested parties.
Proposals
1:: Improved substitution
SEP-0007/Substitution
2:: SemiJoin/Antijoin
https://w3c.github.io/sparql-exists/docs/sparql-exists.html#proposal-a
Proposal 1
Proposal 1 is based on errata for the "Substitution" operation.
Full details including relationship to errata: SEP-0007/Substitution.
Proposal 2
Proposal 2 is SemiJoin/AntiJoin.
SPARQL already has MINUS
which is an antijoin with a special condition for the case of disjoint domains (a decision of the SPARQL 1.1 working group).
A way forward.
A compromise way forward:
-
Replace "Substitute" with the errata-derived fix SEP-0007/Substitution
-
Plan for adding LATERAL, SEMIJOIN and ANTIJOIN (both pure forms) to the SPARQL language. This may have to be additional features added in the "new features" phase due to timing.