[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nepomuk
Subject:    Re: [Nepomuk] Some issues on current master
From:       Sebastian_Trüg <sebastian () trueg ! de>
Date:       2012-05-31 8:34:45
Message-ID: 4FC72D25.4080407 () trueg ! de
[Download RAW message or body]

please see if this patch fixes the issue.

On 05/31/2012 10:24 AM, Marco Martin wrote:
> On Thursday 31 May 2012, Marco Martin wrote:
>> On Thursday 31 May 2012, Sebastian Trüg wrote:
>>> which version of virtuoso are you using?
>>>
>>> And, yes, the virtuoso branch needs to be merged in kdelibs indeed.
>>
>> i tried on 2 different systems with 6.1.2 and 6.1.4, now i'm trying to
>> install 6.1.5
> 
> with 6.1.5 apparently there is the same issue of parse error (syntax error at 
> exists)
> 

["1.diff" (text/plain)]

diff --git a/nepomuk/query/query.cpp b/nepomuk/query/query.cpp
index aca4fa4..13d07c99 100644
--- a/nepomuk/query/query.cpp
+++ b/nepomuk/query/query.cpp
@@ -455,7 +455,7 @@ QString Nepomuk::Query::Query::toSparqlQuery( SparqlFlags \
sparqlFlags ) const  //
     QString userVisibilityRestriction;
     if( !(queryFlags()&NoResultRestrictions) && !d->m_isFileQuery ) {
-        userVisibilityRestriction = QString::fromLatin1("FILTER EXISTS { ?r a [ %1 \
%2 ] . } . ") +        userVisibilityRestriction = \
                QString::fromLatin1("FILTER(bif:exists((select (1) where { ?r a [ %1 \
                %2 ] . }))) . ")
                                     \
                .arg(Soprano::Node::resourceToN3(Soprano::Vocabulary::NAO::userVisible()),
                
                                          \
Soprano::Node::literalToN3(Soprano::LiteralValue(true)));  }



_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic