[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Problems with ContactSearchJob
From: Christian Mollekopf <chrigi_1 () fastmail ! fm>
Date: 2013-05-16 20:54:01
Message-ID: 54751999.SjxfLNuSbn () localhost ! localdomain
[Download RAW message or body]
On Wednesday 15 May 2013 16.47:35 Klaas Freitag wrote:
> > There is probably also a Nepomuk commandline interface or D-Bus interface
> > that allows for Sparql queries, i.e. in order to bypass Akonadi and check
> > if the search itself works.
>
> Probably, but that technology has a steep learning curve and not soo
> much documentation around.
The tool is nepomukshell, and the queries are:
Query for akonadi item:
select ?r where { ?r nie:url <akonadi:?item=191121> . }
Query for uid:
select distinct ?r ?name ?uid where { ?r a nco:Contact. ?r nco:fullname ?name.
?r nco:contactUID ?uid. FILTER( bif:contains(?uid, "'CONTACTUID'") ). }
Just substitute CONTACTUID with the proper UID respectively the item id.
Cheers,
Christian
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic