Skip to content

Instantly share code, notes, and snippets.

@baskaufs
Created May 30, 2015 11:54
Show Gist options
  • Save baskaufs/55d5377422a641c5447c to your computer and use it in GitHub Desktop.
Save baskaufs/55d5377422a641c5447c to your computer and use it in GitHub Desktop.
cURL syntax to query the TDWG sandbox SPARQL endpoint
curl --data-urlencode "query@test.sparql" http://tdwg-rdf.phylodiversity.net/store2/sparql
@baskaufs
Copy link
Author

The triples are loaded into the "store3" endpoint, which returns JSON. So the same command can be given replacing "store2" with "store3" and the result will be in JSON. This endpoint seems a lot slower and more prone to breaking with complex queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment