Hi, I improved this script a bit. I can upload as an attach.
On Wed, Sep 28, 2011 at 9:27 AM, Sebastian Trüg <[email protected]> wrote: > Now could you also please dumpres (a small tool you can find here: > http://websvn.kde.org/trunk/playground/base/nepomuk-kde/toolbox/) the > files that are returned more than once. > > I tried the query here a few times and always get the same number of > results. > > Cheers, > Sebastian > > On 09/27/2011 11:41 PM, François wrote: > > There it is : > > > > select distinct ?r where { > > { > > ?r a < > http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#Movie> > > . > > ?r a ?v2 . > > FILTER(?v2 in > > (<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>,< > http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject>)) > > . > > ?r < > http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> ?v3 > > . > > FILTER(REGEX(STR(?v3), '(^file:///home/shared/Films/)', 'i')) . > > } . > > ?r < > http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> > > ?v1 . > > FILTER(?v1>0) . > > } > > > > Thanks for your interest and patience :) > > > _______________________________________________ > Nepomuk mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/nepomuk > -- Best wishes, Ignacio
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
