While trying to get to the bottom of a very very slow query I notives this:
$ nepomukcmd query "select count(distinct ?r) where { ?r a ?t . \
?t rdfs:subClassOf rdfs:Resource . \
?r ?p ?o . \
?o bif:contains 'nepo' . \
}"
$ callret-0 -> "24"^^<http://www.w3.org/2001/XMLSchema#int>
$ nepomukcmd query "select count(distinct ?r) where { ?r ?p ?o . \
?o bif:contains 'nepo' . \
}"
$ callret-0 -> "21"^^<http://www.w3.org/2001/XMLSchema#int>
As you can see restricting the query to subclasses of rdfs:Resource gets
me more results than I get without any restriction on the type...
Am I missing something or can this simply not be?
Cheers,
Sebastian