The SPARQL Query

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.

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

Received on Wednesday, 14 December 2011 10:50:59 UTC