101
101
Nepomuk2::Resource res1( file.fileName() );
102
102
res1.addProperty( QUrl( propString + '5' ), Nepomuk2::Variant( 5 ) );
104
Soprano::Node context = model->listStatements( res1.resourceUri(), QUrl( propString + '5' ), Soprano::Node( Soprano::LiteralValue( 5 ) ) ).iterateContexts().allElements().first();
104
Soprano::Node context = model->listStatements( res1.uri(), QUrl( propString + '5' ), Soprano::Node( Soprano::LiteralValue( 5 ) ) ).iterateContexts().allElements().first();
106
106
QHash<KUrl, Nepomuk2::Resource> hash;
107
107
hash.insert( res1uri, res1 );