W3C home > Mailing lists > Public > semantic-web@w3.org > July 2010

Re: FYI: Blog on HTTP Link header and host-wide well-known URI-s, and Linked Data

From: Toby Inkster <tai@g5n.co.uk>
Date: Thu, 8 Jul 2010 21:28:57 +0100
To: Ivan Herman <ivan@w3.org>
Cc: W3C Semantic Web IG <semantic-web@w3.org>, W3C LOD Mailing List <public-lod@w3.org>, Jonathan Rees <jar@creativecommons.org>
Message-ID: <20100708212857.35ae2330@miranda.g5n.co.uk>
On Wed, 7 Jul 2010 07:03:21 +0200
Ivan Herman <ivan@w3.org> wrote:

> http://www.w3.org/QA/2010/07/new_opportunities_for_linked_d.html

Not sure why my comment yesterday has still not shown up, but for the
benefit of these lists...

I've been supporting some of these technologies in my Perl modules
<http://search.cpan.org/~tobyink/> for a few months now. For example,
my SPARQL Protocol client is able to auto-discover SPARQL endpoints
from resource URIs (including documents, FTP addresses, e-mail
addresses) using the discovery stack.

So you could just do something like:

	$sparql = "SELECT ?name
	           WHERE {
	               [] foaf:name ?name ;
	                  foaf:mbox <mailto:joe@example.com> .
	$query = RDF::Query::Client->new($sparql);
	$results = $query->discover_execute('mailto:joe@example.com');

It would use the discovery techniques discussed in that blog article to
find a SPARQL endpoint relevant to the e-mail address, and then execute
the query on that endpoint.

Toby A Inkster

Received on Thursday, 8 July 2010 20:30:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:19 UTC