So I'm right, my brain compiler works fine :)<span></span><br><br>El lunes, 10 de septiembre de 2012, Vishesh Handa  escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In case anyone is interested, the problem was in the query.<br><br>Those nco:IMAccounts didn't have a nco:imNickname, so they didn't satisfy the optional block.<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 8:16 PM, Aleix Pol <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'aleixpol@kde.org');" target="_blank">aleixpol@kde.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">select ?uri ?pimo_groundingOccurrence ?nco_hasIMAccount<br>
        ?nco_imNickname ?telepathy_statusType ?nco_imID<br>
?nco_imAccountType ?nco_hasEmailAddress<br>
        ?nco_imStatus ?nco_photo<br>
<br>
        WHERE {<br>
            ?uri a nco:PersonContact .<br>
            ?pimo_groundingOccurrence   pimo:groundingOccurrence     ?uri .<br>
<br>
        OPTIONAL {<br>
            ?uri                       nco:hasIMAccount<br>
?nco_hasIMAccount .<br>
            ?nco_hasIMAccount          nco:imNickname<br>
?nco_imNickname .<br></blockquote><div><br>Here ^^<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            ?nco_hasIMAccount          telepathy:statusType<br>
?telepathy_statusType .<br>
            ?nco_hasIMAccount          nco:imStatus<br>
?nco_imStatus .<br>
            ?nco_hasIMAccount          nco:imID                    ?nco_imID .<br>
            ?nco_hasIMAccount          nco:imAccountType<br>
?nco_imAccountType .<br>
         }<br>
        OPTIONAL {<br>
            ?uri                       nco:photo                   ?phRes.<br>
            ?phRes                     nie:url                     ?nco_photo.<br>
         }<br>
        OPTIONAL {<br>
            ?uri                       nco:hasEmailAddress<br>
?nco_hasEmailAddress .<br>
            ?nco_hasEmailAddress       nco:emailAddress<br>
?nco_emailAddress .<br>
         }<br>
}<br>
_______________________________________________<br>
Nepomuk mailing list<br>
<a href="javascript:_e({}, 'cvml', 'Nepomuk@kde.org');" target="_blank">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>
</blockquote><br><br>-- <br>Best wishes,<div>Ignacio</div><div><br></div><br>