Re: WebID Frustration

On 8/7/13 8:47 AM, Norman Gray wrote:
> Greetings, all
>
> Relevant to the question of serving the FOAF file...
>
> On 2013 Aug 7, at 02:07, Kingsley Idehen wrote:
>
>> Circa. 2013 we have storage services such as Dropbox, Amazon S3, Google Drive, Microsoft SkyDrive, Box.NET etc.., all of these can host a profile document that describes claims that mirror those stored in your local keychain hosted X.509 cert. You simply use the SAN slot to connect these profile documents via a WebID and the leave the rest to logic expressible in queries delivered over HTTP e.g., SPARQL ASK  :-)
> I just tried this.  My WebID <http://nxg.me.uk/norman/> does a 303 redirect to a FOAF file.  Right now, if you ask for text/turtle, it does a 303 redirect to <https://www.dropbox.com/s/getd5vxhafbutgl/norman.ttl>, which then does a 302 redirect to some hash on Dropbox's content delivery network.
>
> ...and this still works, according to <https://webid.turnguard.com/WebIDTestServer/debug>!
>
> This is, I suppose parenthetically, another way of doing the indirection that Hugh was talking about.  My WebID is merely a .htaccess file, but could be something like a purl.org URI redirecting to a file on Dropbox or similar.  That's nice and easy.
>
> (I don't think this would _quite_ work with purl.org right now, because of conneg intricacies, but it's near-as-dammit, and one can imagine a very similar service which did).
>
> All the best,
>
> Norman
>
>
Yep!

Confirmation via cURL output:

Phase 1
======

curl --cert kidehen-webid-identity.pem --key kidehen-webid-identity.pem 
-k -i -L -H "Accept: text/turtle" 
https://www.dropbox.com/s/getd5vxhafbutgl/norman.ttl
Enter PEM pass phrase:
HTTP/1.1 302 FOUND
Server: nginx
Date: Wed, 07 Aug 2013 13:18:29 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
set-cookie: locale=en; expires=Mon, 06 Aug 2018 13:18:29 GMT; Path=/
set-cookie: gvc=NzQzMDUyNDA4ODg3MTA2Nzk2NDAxNzkwMjk4OTkwOTQ0NjE5NzE%3D; 
expires=Mon, 06 Aug 2018 13:18:29 GMT; Path=/; httponly
set-cookie: t=0E8cHWQBs3cpoigAjPSNsrSN; Domain=dropbox.com; expires=Fri, 
06 Sep 2013 13:18:29 GMT; Path=/; secure; httponly
strict-transport-security: max-age=2592000; includeSubDomains
location: 
https://dl.dropboxusercontent.com/s/getd5vxhafbutgl/norman.ttl?token_hash=AAGRCRYOPe5jBYlpKmACOuvYcKYjzup4CK4VxFjw7Xmxbg
pragma: no-cache
cache-control: no-cache
x-dropbox-http-protocol: None
x-frame-options: SAMEORIGIN
x-dropbox-request-id: a9bc9b006d822047a6df462cbfd72786
X-RequestId: 65005446994717fe3412203c94cf14fc

Phase 2
=====

Enter PEM pass phrase:
HTTP/1.1 200 OK
accept-ranges: bytes
cache-control: max-age=0
Content-Type: text/plain; charset=ascii
Date: Wed, 07 Aug 2013 13:19:12 GMT
etag: 1417238700n
pragma: public
Server: nginx
x-dropbox-request-id: 4ba23e5ae61c623cf110f5c296112cfa
X-RequestId: 5fa38fc4fc678c01b597a586aad14ed7
x-server-response-time: 170
Content-Length: 4876
Connection: keep-alive

@base <http://nxg.me.uk/norman/>.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix : <http://xmlns.com/foaf/0.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix cc: <http://web.resource.org/cc/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .
@prefix airport: <http://www.daml.org/2001/10/html/airport-ont#> .
@prefix cert:  <http://www.w3.org/ns/auth/cert#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .



</norman/rdf> a :PersonalProfileDocument;
     :maker <>;
     :primaryTopic <>.
</norman/ttl> a :PersonalProfileDocument;
     :maker <>;
     :primaryTopic <>.
</norman/n3> a :PersonalProfileDocument;
     :maker <>;
     :primaryTopic <>.

<>
     a :Person, :Agent, cc:Agent;
     :name "Norman Gray";
     :givenname "Norman";
     :family_name "Gray";
     dct:identifier "Norman Gray";
     owl:sameAs <http://nxg.me.uk/norman/openid>;
     owl:sameAs <http://inspirehep.net/author/N.Gray.1/>;
     owl:sameAs <http://orcid.org/0000-0002-1941-9202>;
     owl:sameAs <http://arxiv.org/a/gray_n_1>;
     :mbox <mailto:norman@astro.gla.ac.uk>;
     :mbox_sha1sum "baa162e14a20b3fafbccbf0fceaa1159a3a042d1";
     :mbox_sha1sum "39053b52b8561474e74e83f0d56a0c90e27b1e37";
     :mbox_sha1sum "bccb5a6ca62c7ab82d7264ba2dff7636e1c3f0c1";
     :mbox_sha1sum "14f2d3a469303d0faca13f73064845ddda4d2dbd";
     :mbox_sha1sum "c9994fd3713561d0d9a468cd30c11a0f3cb3055a";
     :mbox_sha1sum "e6578555a8108ea83ee7f1d60556e63fd83bcc5e";
     :mbox_sha1sum "58a587e433b1e0c22aa026eeee7703ffcee6262c";
     :mbox_sha1sum "84612b3540a255bb11de3db579e02533ff2631c5";
     :mbox_sha1sum "0254b43a4c00a8c5eb9093d9820353640ee02786";
     :mbox_sha1sum "efc0598f1c8e3cd8c3be776a9312cf8cab3d6096";
     :mbox_sha1sum "bfeee75c2025815392014a95cfd4b6aad117c07f";
     :homepage <http://nxg.me.uk>;
     :homepage <http://www.astro.gla.ac.uk/users/norman/>;
     :depiction <jpg>;
     :logo <logo>;
     :workplaceHomepage <http://www.astro.gla.ac.uk>;
     :workplaceHomepage <http://www.star.le.ac.uk>;
     cert:key [
         a cert:RSAPublicKey;
         cert:exponent 65537;
         cert:modulus 
"B1CF550703951EE7DFAC2E32DF1FDF8986F17B1167FFB2780109DD7D77C109F37BB558E67F031C41BD224B98CFA04F6265F02FB88C9F392CAC6C02A712B0091C63267ACDD155CCE4631EA0B177023F9C3DD898A7EEA14F72CACC4A5F64677566F36C3D98BF9492691711E1BA181667D159AEBD8B02DDBCAAD8E80451F41F9D389185533D9A6FB5316039A21494EDBE4A71DA212F91C57D66B8307E395605E02017BF3398132383928F0F36D1BC6EE9F68F03BE9C38A52180937F868869DF0FBEF1FEB8A5D799C67CCEE70C4DA7458CB9B9B73BE2614B922E2747CA6FEBB1519328C2CCEA8355873AC6790624C3A05922797319F55E146F76EEE2230FFBD46147"^^xsd:hexBinary;
     ];
     :holdsAccount [
       a :OnlineAccount;
       :accountServiceHomepage <http://flickr.com/people/nxg>;
       :accountName "nxg";
     ];
     :holdsAccount [
       a :OnlineAccount;
       :accountServiceHomepage <http://www.linkedin.com/in/normangray>;
       :accountName "normangray";
     ];
     :holdsAccount [
       a :OnlineAccount;
       :accountServiceHomepage <https://twitter.com/normangray>;
       :accountName "normangray";
     ];
     :holdsAccount [
       a :OnlineAccount;
       :accountServiceHomepage <http://www.google.com>;
       :accountName "norman.x.gray";
     ];
     :knows [
         a :Person;
         :name "Arthur Stutt";
         :mbox_sha1sum "d632bf53bde24db32e18d9ef5b2871ef7086ca71";
     :homepage <http://www.stutt.greenisp.org/>
     ];
     :knows <http://tomheath.com/id/me>;
     :knows [
         a :Person;
         :name "Danny Ayers";
         :homepage <http://dannyayers.com/>;
         rdfs:seeAlso <http://dannyayers.com/me>;
     ];
     :knows <http://gromgull.net/me>;
     :knows <http://hea-www.harvard.edu/~dburke/foaf.rdf#me>;
     :knows <http://www.dcs.gla.ac.uk/~schalmers/foaf.rdf#me>;
     :based_near [
         a geo:Point;
         geo:lat "55.872202";
         geo:long "-4.291394" ];
     :based_near <http://dbpedia.org/resource/Glasgow>;
     contact:nearestAirport [
         airport:iataCode "GLA";
         airport:icaoCode "EGPF";
         airport:sameIndividualAs 
<http://www.daml.org/cgi-bin/airport?GLA> ];
     .

<http://flickr.com/people/nxg>
   a :OnlineAccount;
   :accountName "nxg";
   :accountServiceHomepage <http://flickr.com>;
   rdfs:label "Norman on Flickr".

<http://tomheath.com/id/me>
     a :Person;
     :name "Tom Heath".

<http://hea-www.harvard.edu/~dburke/foaf.rdf#me>
     a :Person;
     :name "Douglas Burke";
     rdfs:seeAlso <http://hea-www.harvard.edu/~dburke/foaf.rdf>.

<http://gromgull.net/me>
   a :Person;
   :name "Gunnar AAstrand Grimnes";
   rdfs:seeAlso <http://gromgull.net/foaf.rdf>.

<#norman> owl:sameAs <>.

<#agent> a cc:Agent;
     owl:sameAs <>;
     dct:title "Norman Gray";
     dct:identifier <>.




-- 

Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen

Received on Wednesday, 7 August 2013 13:22:02 UTC