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

how to transfer SPARQL produced by GANWERS to standard SPARQL followed w3c #60

Open
xqx1568 opened this issue May 10, 2021 · 1 comment

Comments

@xqx1568
Copy link

xqx1568 commented May 10, 2021

About question "How many official languages are spoken on the Seychelles?", I got a sparql from GANWERS:
select COUNT(DISTINCT ?languages) where { ?languages <type> <Language>. <Seychelles> <language> ?languages. } LIMIT 3
But I got 403 code when I use gStore to query it.
It is not a stantard SPARQL containing full prefix message. And I want to get a SPARQL followed w3c so that I can query it on other endpoint.
Could you help me to solve this problem.

@xqx1568 xqx1568 changed the title "message":"Unkown Exception","status":"500" how to get answer from SPARQL produced by GANWERS May 13, 2021
@xqx1568 xqx1568 changed the title how to get answer from SPARQL produced by GANWERS how to transfer SPARQL produced by GANWERS to standard SPARQL followed w3c May 13, 2021
@knightmarehs
Copy link
Member

GAnswer generates SPARQL w/o prefix for simplicity, which needs the data you stored in GStore don't have prefix too.
If you want to change the SPARQL generation method, please refer to the code in src/rdf/Sparql.java.

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