[Nepomuk] Queries not working as expected

Alessandro Diaferia alediaferia at gmail.com
Mon Jun 7 12:40:04 CEST 2010


Hello list,
as already discussed with Vishesh some minutes ago there seems to be a
problem with the following SPARQL query:

"select ?url where { ?resource nie:url ?url . ?resource a nfo:Image . }"

This query returns less results than it should, skipping for example png
files.
In particular, as noticed by Vishesh, replacing nfo:Image with
nfo:RasterImage or nexif:Photo works fine.
Shouldn't nfo:Image cover all types of pictures?

My particular code is here: http://pastebin.com/TVj6HJGx

Also, is there a way to perform the same query using the API rather than
plain SPARQL?

Regards

-- 
Alessandro Diaferia
KDE Developer
KDE e.V. member
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20100607/1bcddd09/attachment.htm 


More information about the Nepomuk mailing list