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 <[email protected]<javascript:_e({}, > 'cvml', '[email protected]');> > > 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 >> [email protected] <javascript:_e({}, 'cvml', '[email protected]');> >> https://mail.kde.org/mailman/listinfo/nepomuk >> > > > > -- > Vishesh Handa > > -- Best wishes, Ignacio
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
