W3C home > Mailing lists > Public > public-xg-webid@w3.org > December 2011

Re: The SPARQL Query

From: Henry Story <henry.story@bblfish.net>
Date: Wed, 14 Dec 2011 12:00:16 +0100
Cc: "public-xg-webid@w3.org XG" <public-xg-webid@w3.org>
Message-Id: <6A27B985-1F07-40D6-A7BD-EE80D2709D20@bblfish.net>
To: Mischa Tuffield <mischa@mmt.me.uk>

On 14 Dec 2011, at 11:50, Mischa Tuffield wrote:

> Hello All, 
> 
> Given that the Cert Ontology defines both http://www.w3.org/ns/auth/cert#key and http://www.w3.org/ns/auth/cert#identity  shouldn't the spec  document the two SPARQL queries which would achieve the same thing? 
> 
> Personally I would have ditched the inverse properties as they just make things more complicated, and I would have stuck with just cert:key. danbri has thoughts on this two given his experiences with the foaf ontology.

cert:identity should be deprecated by now - in fact it is listed as "archaic" in the ontology. So yes, we have decided to go with cert:key , 
because it is easier to go from agent -> key than key-> agent.

the reason is of course also that we only want 1 sparql query, and we don't want people to need a OWL enabled graph with sparql.

Those are things that people will feel very useful as they explore the semweb having started using webid. But there is no need to make in necessary at this point.

> 
> That is both of the below are acceptable queries given the Cert Ontology. should section "3.2.4.2 Verifying the WebID Claim" include both of the below SPARQL queries?
> 
> PREFIX : <http://www.w3.org/ns/auth/cert#>
> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
> ASK {
>       ?webid :key [
>          :modulus ?mod;
>          :exponent ?exp;
>       ] .
> }
> 
> and 
> 
> PREFIX : <http://www.w3.org/ns/auth/cert#>
> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
> ASK {
>        ?bnode :identity ?webid ;
>        :modulus ?mod;
>        :exponent ?exp.
> }
> 
> Mischa
> _____________________________
> Mischa Tuffield PhD
> http://mmt.me.uk/
> http://mmt.me.uk/foaf.rdf#mischa
> 

Social Web Architect
http://bblfish.net/
Received on Wednesday, 14 December 2011 11:00:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 14 December 2011 11:00:45 GMT