[foaf-protocols] sparql, uriburner, and double binding hits

peter williams home_pw at msn.com
Sat Mar 26 22:45:18 CET 2011


Concerning foaf card at http://foaf.me/pw2#me,

 

The public entry has 1 RSA publicKeyResource: 

 

- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:admin="http://webns.net/mvcb/">

- <foaf:PersonalProfileDocument rdf:about="">

  <foaf:maker rdf:resource="#me" /> 

  <foaf:primaryTopic rdf:resource="#me" /> 

  </foaf:PersonalProfileDocument>

- <foaf:Person rdf:ID="me">

  <foaf:nick>pw2</foaf:nick> 

  <foaf:homepage rdf:resource="" /> 

  </foaf:Person>

- <rdf:Description>

  <rdf:type rdf:resource="http://www.w3.org/ns/auth/rsa#RSAPublicKey" /> 

  <cert:identity rdf:resource="#me" /> 

- <rsa:modulus rdf:parseType="Resource">

  <cert:hex>bd 4b 4a 44 35 d5 01 ee 87 46 70 e1 01 7f ab b0 80 60 c1 cb 3c
e5 b4 3d 7f 62 7c c4 e0 a2 1d 24 3a 4f d6 89 0b cf 72 3f 39 ca 5f 0a 86 6e
43 40 06 99 14 6f 47 f6 99 03 3c 07 c8 e7 cf b9 06 6e 85 1b 5d 8d 2e 71 79
a0 db 2c 1a 59 b7 fc 7c be 70 aa b9 d0 d3 a7 f2 34 db 9f ce f9 67 ab 8f b7
93 28 97 c1 2c b0 74 ed e2 15 fe ca 0d f4 07 f7 23 36 06 4e 81 d4 3f 83 01
a9 94 e2 a0 f4 ba cd</cert:hex> 

  </rsa:modulus>

- <rsa:public_exponent rdf:parseType="Resource">

  <cert:decimal>65537</cert:decimal> 

  </rsa:public_exponent>

  </rdf:Description>

  </rdf:RDF>

 

 

A ping on URIburner (using a query that works fine for OTHER foaf cards..)

 

GET
http://uriburner.com/sparql?default-graph-uri=&should-sponge=grab-all&query=
%23What%3F+--+SELECT+list+type+casting%0D%0A%23Why%3F+--+string+comparison%0
D%0A%23How%3F+--+leverage+fact+that+Virtuoso+can+surface+all+its+in-built+fu
nctions+%28from+SQL+and+other+functionality+realms%29%0D%0A%23+ditto+custom+
functions%0D%0APREFIX+cert%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fauth%2Fcert%
23%3E%0D%0APREFIX+rsa%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fauth%2Frsa%23%3E%
0D%0ASELECT%0D%0A+++++++%28str+%28bif%3Acoalesce+%28%3Fexp_val%2C+%3Fexp%29%
29%29+%28str+%28bif%3Acoalesce+%28%3Fmod_val%2C+%3Fmod%29%29%29%0D%0AWHERE+%
7B%0D%0A+++++++++++%3Fid+cert%3Aidentity+%3Chttp%3A%2F%2Ffoaf.me%2Fpw2%23me%
3E+%3B%0D%0A+++++++++++rsa%3Apublic_exponent+%3Fexp+%3B+rsa%3Amodulus+%3Fmod
+.%0D%0A+++++++++++OPTIONAL+%7B+%3Fexp+cert%3Adecimal+%3Fexp_val+.+%3Fmod+ce
rt%3Ahex+%3Fmod_val+.+%7D%0D%0A++++++++++%7D&debug=on&timeout=&format=text%2
Fhtml&CXML_redir_for_subjs=&CXML_redir_for_hrefs=&save=display&fname=
HTTP/1.1

Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application,
application/xaml+xml, application/x-ms-xbap, */*

Referer: http://uriburner.com/sparql

Accept-Language: en-US

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; .NET4.0C; .NET4.0E; FDM)

Accept-Encoding: gzip, deflate

Host: uriburner.com

Connection: Keep-Alive

HTTP/1.1 200 OK

Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB

Connection: close

Date: Sat, 26 Mar 2011 21:13:24 GMT

Accept-Ranges: bytes

Content-Type: text/html; charset=UTF-8

Access-Control-Allow-Origin: *

Content-Length: 965

 

Generates multiple binding matches, in the result set:

 

<table class="sparql" border="1">

  <tr>

    <th>callret-0</th>

    <th>callret-1</th>

  </tr>

  <tr>

    <td>65537</td>

    <td>bd 4b 4a 44 35 d5 01 ee 87 46 70 e1 01 7f ab b0 80 60 c1 cb 3c e5 b4
3d 7f 62 7c c4 e0 a2 1d 24 3a 4f d6 89 0b cf 72 3f 39 ca 5f 0a 86 6e 43 40
06 99 14 6f 47 f6 99 03 3c 07 c8 e7 cf b9 06 6e 85 1b 5d 8d 2e 71 79 a0 db
2c 1a 59 b7 fc 7c be 70 aa b9 d0 d3 a7 f2 34 db 9f ce f9 67 ab 8f b7 93 28
97 c1 2c b0 74 ed e2 15 fe ca 0d f4 07 f7 23 36 06 4e 81 d4 3f 83 01 a9 94
e2 a0 f4 ba cd</td>

  </tr>

  <tr>

    <td>65537</td>

    <td>bd 4b 4a 44 35 d5 01 ee 87 46 70 e1 01 7f ab b0 80 60 c1 cb 3c e5 b4
3d 7f 62 7c c4 e0 a2 1d 24 3a 4f d6 89 0b cf 72 3f 39 ca 5f 0a 86 6e 43 40
06 99 14 6f 47 f6 99 03 3c 07 c8 e7 cf b9 06 6e 85 1b 5d 8d 2e 71 79 a0 db
2c 1a 59 b7 fc 7c be 70 aa b9 d0 d3 a7 f2 34 db 9f ce f9 67 ab 8f b7 93 28
97 c1 2c b0 74 ed e2 15 fe ca 0d f4 07 f7 23 36 06 4e 81 d4 3f 83 01 a9 94
e2 a0 f4 ba cd</td>

  </tr>

</table>

 

Any rationale? How should I behave?

 

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.foaf-project.org/pipermail/foaf-protocols/attachments/20110326/16eaf731/attachment.htm 


More information about the foaf-protocols mailing list