In data lunedì 20 settembre 2010 11:51:07, hai scritto: > Your code looks good. So we need to debug the problem. > could you please use the "dumpres" utility from the nepomuk > playground[1] to list properties of the files you tagged.
Tagging this dummy file with "test" and label "test" produces the following: lb_w...@baley:~$ dumpres "nepomuk:/res/46759a87-7956-4000-a171-ccb754ef239e" Resource: <nepomuk:/res/46759a87-7956-4000-a171-ccb754ef239e> Types: <http://www.w3.org/2000/01/rdf-schema#Resource> <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#lastModified> "2010-09-20T10:17:17.714Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier> "Password.txt"^^<http://www.w3.org/2001/XMLSchema#string> <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> <nepomuk:/res/bda40a79-bf37-4000-a115-261dea66cdf3> <nepomuk:/res/baacee48-1409-4000-8fed-0be2ff3add46> <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#created> "2010-09-20T10:15:53.361Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> I had to use the resourceUri() to get the URI because if I gave the file name I got lb_w...@baley:~$ dumpres Password.txt Resource does not exist: file:///home/lb_work/Password.txt
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
