-
Notifications
You must be signed in to change notification settings - Fork 45
REST API
Michel Dumontier edited this page Aug 22, 2015
·
3 revisions
Obtain a description of the SPARQL endpoint
curl -iH "Accept: text/turtle" http://cu.kegg.bio2rdf.org/sparql/
returns
HTTP/1.1 200 OK
Date: Sat, 22 Aug 2015 11:31:08 GMTh
Server: Virtuoso/07.10.3207 (Linux) x86_64-unknown-linux-gnu
Accept-Ranges: bytes
Content-Type: text/turtle; charset=UTF-8
Content-Length: 572
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns1: <http://localhost:8890/> .
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix ns3: <http://www.w3.org/ns/formats/> .
ns1:sparql rdf:type sd:Service ;
sd:endpoint ns1:sparql ;
sd:feature sd:DereferencesURIs , sd:UnionDefaultGraph .
ns1:sparql sd:resultFormat ns3:SPARQL_Results_CSV ,
ns3:SPARQL_Results_JSON ,
ns3:N3 ,
ns3:RDF_XML ,
ns3:SPARQL_Results_XML ,
ns3:Turtle ,
ns3:N-Triples ,
ns3:RDFa ;
sd:supportedLanguage sd:SPARQL10Query ;
sd:url ns1:sparql .