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

List:       kde-pim
Subject:    Re: [Kde-pim] Problem with bulk fetching of items with 4.8
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2012-02-04 19:52:47
Message-ID: CAHAc2jccKMLLoJj0S_VAT3op=Wz0ekixa1kyiWKZMNEi5jGrvg () mail ! gmail ! com
[Download RAW message or body]

I think I need something like the below, but I can't seem to make the
sparql query tab in akonadiconsole do anything, and I've no idea how
to express the mydate or limit the search to the collection I care
about.

"PREFIX nie:<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> "
"PREFIX nco:<http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> "
"SELECT ?itemId WHERE { "
"  ?r <" + akonadiItemIdUri().toEncoded() + "> ?itemId . "
"  ?r a nco:PersonContact . "
"  ?r nie:created ?created . "
"  FILTER (?created < mydate^^<some-date-specifier>)"
"}"

Clueful input welcome!

Thanks, Shaheed
_______________________________________________
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