Sebastian Hellmann wrote: > Hello, > what is the fastest way to query for a list of graphs in the store > for the V5 and V6 series. I do not succeed to write a query that is > faster than 10 seconds. > > I'm testing it on http://db0.aksw.org:8890/sparql , the latest VOS 6 , > which has DBpedia loaded and some OntoWiki graphs. > > I even tried this: > > SELECT DISTINCT ?graph WHERE { GRAPH ?graph {?s rdf:type ?o}} > > and it still needs almost 10 seconds, even if I call it very often, > hoping for the cache to kick in ... > > Also a SQL query would be fine, but it needs to be fast > (it should be fast normally < 20ms ) > It's for OntoWiki, so we also need a fast solution for the V5 series, > to be backward compatible. > > Regards, > Sebastian > > Expected result: > > graph > http://www.openlinksw.com/schemas/virtrdf# > http://www.w3.org/2002/07/owl# > http://ns.ontowiki.net/SysOnt/ > http://dbpedia.org > http://localhost/OntoWiki/Config/ > >
unsure in sparql.. but you can get the list very very quickly using sql.. select GRAPH_IRI from DB.DBA.SPARQL_SELECT_KNOWN_GRAPHS_T
