Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error from SPARQL Exists Community Group: Substitution affects disconnected variables #76

Open
pfps opened this issue May 8, 2023 · 0 comments
Labels
spec:bug Bug in the specification

Comments

@pfps
Copy link
Contributor

pfps commented May 8, 2023

The SPARQL Exists Community Group, in https://w3c.github.io/sparql-exists/docs/sparql-exists.html,
has described errors in the SPARQL Query specification having to do with substitution affecting disconnected variables in https://w3c.github.io/sparql-exists/docs/sparql-exists.html#issue-5-substitution-affects-disconnected-variables

For example, in

  SELECT ?x WHERE {
    BIND ( :d AS ?x )
    FILTER EXISTS { BIND ( :e AS ?z )
                    SELECT ?y WHERE { ?x :p :c } } }

the substitution from 18.6 ends up producing

  Join ( Extend( BGP(), ?z :e ),
         ToMultiSet( Project( ToList( BGP( :d :p :c ) ), { ?y } ) ) )

Some, but not all, implementations diverge from the spec here.

These errors should be fixed.

Issue #5 is an overall tracker for issues from the SPARQL Exists Community Group.

@pfps pfps added the spec:bug Bug in the specification label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:bug Bug in the specification
Projects
None yet
Development

No branches or pull requests

1 participant