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

Grasp binding to Virtuoso / DBpedia #12

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cblakeley
Copy link

Hello,

This pull request allows Grasp to work with a Virtuoso SPARQL endpoint and consequently with DBpedia. The changes address issue #11.

Without this change, Grasp issues CONSTRUCT queries to the SPARQL backend using POST with URL-encoded parameters and Content-Type: application/x-www-form-urlencoded, as described in SPARQL 1.1 Protocol 2.1.2: query via POST with URL-encoded parameters. The patch modifies Grasp to POST CONSTRUCT queries using Content-Type: application/sparql-query as per SPARQL 1.1 Protocol 2.1.3: query via POST directly.

Two simple GraphQL query examples have also been added to demonstrate Grasp querying DBpedia. Please see README_OPL.md for details.

Thanks,
Carl Blakeley
OpenLink Software

@kidehen
Copy link

kidehen commented May 27, 2021

It also extends Grasp to other SPARQL endpoints across the LOD Cloud Knowledge Graph :)

@ktym
Copy link
Contributor

ktym commented Jun 3, 2021

Thank you for your investigation. We'll look into it.

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

Successfully merging this pull request may close these issues.

3 participants