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.
peter
For this kind of transitive closure Virtuoso needs a starting point.
Can you not share a similar SPARQL Protocol link for QLever?
Kingsley
Another variant.
Query text.
SELECT ?sub ?super WHERE { ?sub wdt:P279+ ?super . FILTER( ?super = <http://www.wikidata.org/entity/Q385378>) }
Okay, here’s a QLever query that handles the transitive closure with a constant designating a start point.
We’ll take a look at how that’s being pull off since the following fails, stating:
“Error processing query
Tried to allocate 30 GB, but only 9.9 GB were available. Clear the cache or allow more memory for QLever during startup”
SELECT (SAMPLE(?s) as ?sample) (count(*) as ?count) ?o
WHERE {?s a ?o}
GROUP BY ?o
ORDER BY DESC (?count)
LIMIT 20
--
Regards,
Kingsley Idehen
Founder & CEO
OpenLink Software
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers
Personal Weblogs (Blogs):
Medium Blog: https://medium.com/@kidehen
Legacy Blogs: http://www.openlinksw.com/blog/~kidehen/
http://kidehen.blogspot.com
Profile Pages:
Pinterest: https://www.pinterest.com/kidehen/
Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen
Twitter: https://twitter.com/kidehen
Google+: https://plus.google.com/+KingsleyIdehen/about
LinkedIn: http://www.linkedin.com/in/kidehen
Web Identities (WebID):
Personal: http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i
: http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this