[prev in list] [next in list] [prev in thread] [next in thread]
List: nepomuk
Subject: Re: [Nepomuk] Some issues on current master
From: Marco Martin <notmart () gmail ! com>
Date: 2012-05-31 11:44:34
Message-ID: 201205311344.34735.notmart () gmail ! com
[Download RAW message or body]
On Thursday 31 May 2012, Sebastian Trüg wrote:
> 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)
ok, if i apply the attached patch to the nepomuk-core repository (besides the
kdelibs one) all seems to work correctly again
tough further testing needed
the kdelibs merge, and those 2 patches applied should really happen asap
before 4.9
Cheers,
Marco Martin
["visibility.diff" (text/x-patch)]
diff --git a/libnepomukcore/query/query.cpp b/libnepomukcore/query/query.cpp
index d67b6ce..862efe0 100644
--- a/libnepomukcore/query/query.cpp
+++ b/libnepomukcore/query/query.cpp
@@ -455,7 +455,7 @@ QString Nepomuk2::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