On 10/9/24 2:41 PM, Kingsley Idehen via Wikidata wrote:
Hi Peter,
On 10/9/24 2:26 PM, Peter F. Patel-Schneider wrote:
I use the QLever Wikidata SPARQL service at https://qlever.cs.uni-freiburg.de/wikidata/ The Virtuoso service I use is at https://wikidata.demo.openlinksw.com/sparql I believe that both of these are the standard endpoints and are the same that you used. peterFor this kind of transitive closure Virtuoso needs a starting point.
https://wikidata.demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fw... https://wikidata.demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fwww.wikidata.org%2F&query=SELECT+%3Fsub+%3Fsuper+WHERE+%7B%0D%0A++%3Fsub+wdt%3AP279%2B+%3Fsuper+.%0D%0A+++FILTER+%28%3Fsub+%3D+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ391414%3E%29%0D%0A%7D+%0D%0A&format=text%2Fhtml&timeout=30000&signal_void=on
Can you not share a similar SPARQL Protocol link for QLever?
Kingsley
Another variant.
https://wikidata.demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fw... https://wikidata.demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fwww.wikidata.org%2F&query=SELECT+%3Fsub+%3Fsuper+WHERE+%7B%0D%0A++%3Fsub+wdt%3AP279%2B+%3Fsuper+.%0D%0A+FILTER%28+%3Fsuper+%3D+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ385378%3E%29%0D%0A%7D+&format=text%2Fx-html%2Btr&timeout=30000&signal_void=on
Query text.
|SELECT ?sub ?super WHERE { ?sub wdt:P279+ ?super . FILTER( ?super = http://www.wikidata.org/entity/Q385378) } |