Created
March 30, 2016 14:07
-
-
Save ableasdale/2a6ac0b8145683f88881dc51992855b7 to your computer and use it in GitHub Desktop.
Using cURL to run a simple query against a database containing triples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --anyauth --user user:pass "http://hostname:8000/v1/graphs/sparql?database=Documents" -H "Content-type:application/x-www-form-urlencoded" -H "Accept:text/csv" -X POST --data-binary 'query=SELECT+*+WHERE+{+%3fs+%3fp+%3fo+}+LIMIT+10' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment