I see. Then you need to specify a specific type for the resource. This is a situation I did not think of when coding the query handling. No type is saved in your situation which is not great and should be changed I suppose. But for you adding a specific type would solve the problem:
Resource res( QUrl(), Soprano::Vocabulary::NAO::Tag() ); res.setProperty( Soprano::Vocabulary::NAO::prefLabel(), "Hello World" ); is an example. Sorry for the inconvinience. Cheers, Sebastian On 12/02/2010 07:20 AM, Robby Stephenson wrote: > On Wednesday 01 December 2010, Sebastian Trüg wrote: >> Just a hunch: try adding Query::NoResultRestrictions to the >> toSparqlQuery call. > > Ah, that's in 4.6, no? I've been trying to do this with KDE 4.5.3. > > Robby > _______________________________________________ > Nepomuk mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/nepomuk > _______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
