Hi all,

Has anyone an idea how to optimize a query like this one:

SELECT DISTINCT ?order ?label WHERE
{
?species rdf:type dbpedia-owl:Species .
?species dbpedia-owl:order ?order .
?order rdfs:label ?label FILTER(LANG(?label) = "en") .
}

I'm trying to get the order attribute of all species but the query always times 
out at the dbpedia SPARQL endpoint. Removing the FILTER constraint or DISTINCT 
makes the query work but also retrieves a lot of (in my case) irrelevant 
results.

Thanks for help.

Regards,
Sören

------------------------------------------------------------------------------

_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to