[Kde-pim] Problems with ContactSearchJob
Christian Mollekopf
chrigi_1 at fastmail.fm
Thu May 16 21:54:01 BST 2013
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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list