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

Virtuoso 37000 Error SP031: SPARQL compiler: Variable name is used in the BINDINGS clause but not in the query result set #1331

Open
namedgraph opened this issue Nov 19, 2024 · 1 comment

Comments

@namedgraph
Copy link

namedgraph commented Nov 19, 2024

Hi. I have a valid SPARQL query

PREFIX  skos: <http://www.w3.org/2004/02/skos/core#>

SELECT ?concept
WHERE
  { GRAPH ?graph
      { ?concept  skos:inScheme  $concept_scheme }
  }
VALUES $concept_scheme { <https://example.org#scheme> }

However in Virtuoso OS version 07.20.3240 (a1fd819) it returns an error:

Virtuoso 37000 Error SP031: SPARQL compiler: Variable name 'concept_scheme' is used in the BINDINGS clause but not in the query result set

What is the reason for that? And is there a workaround?

@HughWilliams
Copy link
Collaborator

we are looking into this ...

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

2 participants