[Nepomuk] Query Generator Problem

Vishesh Handa me at vhanda.in
Tue Mar 20 19:25:22 UTC 2012


Hey Sebastian

If you get a chance please look at this -


   1. nepomukqueryservice(21826)/nepomuk (query service)
   Nepomuk::Query::SearchRunnable::run: "<?xml version="1.0"?><query limit="6"
   offset="0" fullTextScoring="false" fullTextScoringOrder="desc"
   flags=""><and><type uri="
   http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag"/><comparison
   property="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag"
   comparator=":" inverted="true"/><comparison property="
   http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag"
   comparator=":" aggregate="count" sortWeight="1" sortOrder="desc"
   inverted="true"/></and></query>
   2. " "select distinct ?r where { { ?r a <
   http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag> . ?v2 <
   http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> ?r .
   ?v3 <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> ?r
   . } . ?r <
   http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible>
   ?v1 . FILTER(?v1>0) . } ORDER BY DESC ( count(?v3) ) LIMIT 6"


The query has this twice, and it's screwing up virtuoso -

?v2 <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> ?r .
?v3 <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> ?r .

Do you think you could update the Query Generator to handle cases like this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120321/4f8339dc/attachment.html>


More information about the Nepomuk mailing list