[foaf-protocols] entity model vs statement lookup

Peter Williams home_pw at msn.com
Wed Dec 23 07:47:08 CET 2009


(a)    Querying the triple store

 

I wonder if Im over-thinking this, by trying to do such as identify the PPD,
then the Person, and then walk the various nestings of properties. Its
strictly type checking its inputs, for sure, but seems overkill for the
query design itself 

 

I've just started evaluating <?s cert:identity WEBID > && <?s rsa:mod ?m> &&
<?m cert:hex ?octet> to learn mod's octets.

 

This is what Ive started doing (and it works for nodeids
(http://foaf.me/peter20) and urls (http://foaf.me/peter21)) ;  though Im not
sure why peter20 and peter21 are quite so different in their style of
application/rdf+xml

 

(b)    What response codes are folks returning on failures? E.g. failed to
get foaf card, failed to match modulus.? Its not really appropriate to
return unauthorized, as that will induce a challenge that was not there
initially. My demo is already asking optionally for basic auth (in addition
to handling cert). If the account and password is good but the webid is not,
what do we do?

 

Probably ready for a third party to try it for me, just running on their
windows desktop.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.foaf-project.org/pipermail/foaf-protocols/attachments/20091222/95c4db5f/attachment.htm 


More information about the foaf-protocols mailing list