[Nepomuk] Query result count

François daitheflu at free.fr
Thu Sep 29 21:55:29 UTC 2011


Thanks, was much easier for me, heh :)
Here is the output for one of the file :

Executing - select distinct ?r ?p ?o where { ?r ?p ?o. ?r nie:url 
<file:///home/shared/Films/Sintel.mp4> . }


nepomuk:/res/791ace0f-657b-4afe-bc0d-9efd78e71a3e
        rdf:type                rdfs:Resource
        rdf:type                nfo:FileDataObject
        rdf:type                nie:InformationElement
        rdf:type                nie:DataObject
        rdf:type                nfo:Media
        rdf:type                nfo:Visual
        rdf:type                nfo:Video
        rdf:type                nmm:Movie
        nao:lastModified                2011-09-27T19:13:15.184Z
        nao:userVisible         1
        http://nepomuk.kde.org/ontologies/2010/11/29/kext#unixFileGroup         
shared
        http://nepomuk.kde.org/ontologies/2010/11/29/kext#unixFileOwner         
francois
        http://nepomuk.kde.org/ontologies/2010/11/29/kext#unixFileMode          
33188
        nao:created             2011-09-23T18:42:33.369Z
        nie:lastModified                2010-09-30T19:30:41Z
        nie:mimeType            video/mp4
        nie:isPartOf            nepomuk:/res/0d0447fa-483a-44ad-9a27-
afa20c9d5202
        nie:contentSize         399728518
        nie:url         file:///home/shared/Films/Sintel.mp4
        nfo:fileName            Sintel.mp4


Cheers,

-- 
François


Le Jeudi 29 Septembre 2011 09:38:26, Sebastian Trüg a écrit :
> try this:
> http://websvn.kde.org/trunk/playground/base/nepomuk-kde/scripts/nepomukshow
> .py?view=log
> 
> On 09/28/2011 11:17 PM, François wrote:
> > I didn't succeed in compiling dumpres.cpp (I'm not really used to
> > compiling stuff, and it complained about not finding
> > "kde4_add_executable"). So, yep, I think I'd really appreciate the
> > python version of it :)
> > 
> > Cheers,
> 
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk


More information about the Nepomuk mailing list