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

enhancement: support comments in sparql queries #5

Open
nvdk opened this issue Jul 12, 2021 · 0 comments
Open

enhancement: support comments in sparql queries #5

nvdk opened this issue Jul 12, 2021 · 0 comments

Comments

@nvdk
Copy link
Member

nvdk commented Jul 12, 2021

A common thing for larger queries is to comment parts of it using the turtle comment syntax

# some comment here

Currently this will raise a parsing error in the mu-authorization, which is often hard to debug as validating the query via a service as http://sparql.org/query-validator.html will yield that it's valid query.

A way to support this could be just stripping these out with a regex before parsing.

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