[Nepomuk] Strange behavior of data extraction
Ignacio Serantes
kde at aynoa.net
Tue Sep 11 10:36:40 UTC 2012
So I'm right, my brain compiler works fine :)
El lunes, 10 de septiembre de 2012, Vishesh Handa escribió:
> 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<javascript:_e({}, 'cvml', '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 <javascript:_e({}, 'cvml', 'Nepomuk at kde.org');>
>> https://mail.kde.org/mailman/listinfo/nepomuk
>>
>
>
>
> --
> Vishesh Handa
>
>
--
Best wishes,
Ignacio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120911/d560b89d/attachment.html>
More information about the Nepomuk
mailing list