619
637
// Remove data which is useless but still around from before. This could happen due to some buggy version of
620
638
// the indexer or the filewatch service or even some application messing up the data.
621
639
// We look for indexed files that do not have a nie:url defined and thus, will never be catched by any of the
625
644
Strigi::Ontology::indexGraphFor() == ( Soprano::Vocabulary::RDF::type() == Query::ResourceTerm( Nepomuk::Vocabulary::NFO::FileDataObject() ) &&
628
648
q.setQueryFlags(Query::Query::NoResultRestrictions);
629
649
query = q.toSparqlQuery();