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

Does it work with nested graphs? #8

Open
renyuneyun opened this issue Dec 13, 2020 · 0 comments
Open

Does it work with nested graphs? #8

renyuneyun opened this issue Dec 13, 2020 · 0 comments

Comments

@renyuneyun
Copy link

I'm exploring this software on a local endpoint. I modified the services.js on the dbpedia branch and it works.
The question I have is: it works with a single graph. But when it contains nested graphs, I'm having no idea how to make it work.
I see the SPARQL queries generated are in this form:

SELECT DISTINCT ?var9 ?var8 ?prop8 WHERE {
  ?var8 ?prop8 ?var9 .
  FILTER isIRI(?var9)
}

But for a nested graph, it needs to be:

SELECT DISTINCT ?var9 ?var8 ?prop8 WHERE {
  GRAPH ?g {
    ?var8 ?prop8 ?var9 .
    FILTER isIRI(?var9)
  }
}
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