[Nepomuk] Re: counting literal values
trueg at kde.org
Thu Dec 2 09:44:12 CET 2010
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.
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.
> Nepomuk mailing list
> Nepomuk at kde.org
More information about the Nepomuk