Skip to content

Instantly share code, notes, and snippets.

@samuell
Last active January 1, 2017 21:25
Show Gist options
  • Save samuell/3d29d8b585513b4be9c2f9bedc8b9b83 to your computer and use it in GitHub Desktop.
Save samuell/3d29d8b585513b4be9c2f9bedc8b9b83 to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -X GET https://query.wikidata.org/sparql \
--data-urlencode "format=json&query='CONSTRUCT ?s <http://example.org/onto/dummypred> ?o WHERE { ?s ?p ?o } LIMIT 100'" -H 'Accept:text/plain' \
> data/testquery.nt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment