I'm running SPARQL queries like:
prefix ch: <http://pele.farmbio.uu.se/chembl/?>
select count(?s) where {
?s a ch:Compound .
}
or any other 'a' query asking all Resources of a certain rdf:type, which is quite slow resulting in a time out... how can I get Virtuoso to be a bit speedier here? Can I index the store so that it more efficiently can return all resources rdf:type some:Foo?