MaastrichtU-IDS / into-the-graph

🧭 Resolve, visualize and browse the content of any SPARQL endpoint
https://maastrichtu-ids.github.io/into-the-graph
MIT License
13 stars 4 forks source link

Using Graph not supported by Wikidata endpoint #21

Open vemonet opened 4 years ago

vemonet commented 4 years ago

into-the-graph fail querying Wikidata endpoint due to the GRAPH ?graph { part, not supported in Blazegraph triple mode.

See https://query.wikidata.org/sparql

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
  graph ?g {
  <http://www.wikidata.org/entity/Q45> ?pred ?obj .
  } } LIMIT 10
vemonet commented 4 years ago

Add option to switch between Graph and Ntriple mode?

All graph instructions would be omitted from Ntriple SPARQL queries