[Nepomuk] Query result count

Sebastian Trüg trueg at kde.org
Wed Sep 28 07:27:21 UTC 2011


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 :)
> 


More information about the Nepomuk mailing list