Skip to content

Instantly share code, notes, and snippets.

@samuell
Created August 24, 2016 14:41
Show Gist options
  • Save samuell/4f233dec0ef1b23fa63a03a60ed843b5 to your computer and use it in GitHub Desktop.
Save samuell/4f233dec0ef1b23fa63a03a60ed843b5 to your computer and use it in GitHub Desktop.
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