[Nepomuk] Strange behavior of data extraction
Vishesh Handa
me at vhanda.in
Mon Sep 10 11:21:29 UTC 2012
In case anyone is interested, the problem was in the query.
Those nco:IMAccounts didn't have a nco:imNickname, so they didn't satisfy
the optional block.
On Fri, Sep 7, 2012 at 8:16 PM, Aleix Pol <aleixpol at kde.org> wrote:
> select ?uri ?pimo_groundingOccurrence ?nco_hasIMAccount
> ?nco_imNickname ?telepathy_statusType ?nco_imID
> ?nco_imAccountType ?nco_hasEmailAddress
> ?nco_imStatus ?nco_photo
>
> WHERE {
> ?uri a nco:PersonContact .
> ?pimo_groundingOccurrence pimo:groundingOccurrence ?uri .
>
> OPTIONAL {
> ?uri nco:hasIMAccount
> ?nco_hasIMAccount .
> ?nco_hasIMAccount nco:imNickname
> ?nco_imNickname .
>
Here ^^
> ?nco_hasIMAccount telepathy:statusType
> ?telepathy_statusType .
> ?nco_hasIMAccount nco:imStatus
> ?nco_imStatus .
> ?nco_hasIMAccount nco:imID
> ?nco_imID .
> ?nco_hasIMAccount nco:imAccountType
> ?nco_imAccountType .
> }
> OPTIONAL {
> ?uri nco:photo ?phRes.
> ?phRes nie:url
> ?nco_photo.
> }
> OPTIONAL {
> ?uri nco:hasEmailAddress
> ?nco_hasEmailAddress .
> ?nco_hasEmailAddress nco:emailAddress
> ?nco_emailAddress .
> }
> }
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
>
--
Vishesh Handa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120910/47811a70/attachment-0001.html>
More information about the Nepomuk
mailing list