Skip to content

Instantly share code, notes, and snippets.

@RubenVerborgh
Created October 5, 2015 21:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RubenVerborgh/9c2538f05d0ae8d0f9de to your computer and use it in GitHub Desktop.
Save RubenVerborgh/9c2538f05d0ae8d0f9de to your computer and use it in GitHub Desktop.
# curl -H "Accept: text/turtle" http://dbpedia.org/sparql
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns1: <http://dbpedia.org/> .
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
ns1:sparql rdf:type sd:Service ;
sd:endpoint ns1:sparql ;
sd:feature sd:DereferencesURIs ,
sd:UnionDefaultGraph .
@prefix ns3: <http://www.w3.org/ns/formats/> .
ns1:sparql sd:resultFormat ns3:RDFa ,
ns3:SPARQL_Results_JSON ,
ns3:SPARQL_Results_XML ,
ns3:Turtle ,
ns3:N-Triples ,
ns3:N3 ,
ns3:RDF_XML ,
ns3:SPARQL_Results_CSV ;
sd:supportedLanguage sd:SPARQL10Query ;
sd:url ns1:sparql .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment