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

Create new get-pattern-vars fn for SPARQL MINUS #22

Open
quoll opened this issue May 29, 2024 · 0 comments
Open

Create new get-pattern-vars fn for SPARQL MINUS #22

quoll opened this issue May 29, 2024 · 0 comments
Assignees

Comments

@quoll
Copy link
Owner

quoll commented May 29, 2024

The SPARQL MINUS operation requires that outer vars that don't appear in patterns (EPVPatterns) should not be included in bindings. This means that the get-vars function should not be recursing into FILTER or BINDING. That will require a new operation, which is essentially the same as the existing one, but which returns nothing for filters.

vars (reduce #(into %1 (map plain-var (get-vars %2))) #{} patterns)

@quoll quoll self-assigned this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant