W3C home > Mailing lists > Public > public-lod@w3.org > June 2009

Re: gimmee some data!

From: Hugh Glaser <hg@ecs.soton.ac.uk>
Date: Wed, 17 Jun 2009 00:13:57 +0100
To: Toby A Inkster <tai@g5n.co.uk>, Ross Singer <rossfsinger@gmail.com>, Danny Ayers <danny.ayers@gmail.com>, Linked Data community <public-lod@w3.org>
CC: "contact@sameas.org" <contact@sameas.org>
Message-ID: <EMEW3|8d66a74708b7ce6037cf265edee8a856l5G0E802hg|ecs.soton.ac.uk|BBA3%hg@ecs.soton.ac.uk>
Thanks mate - nice.
I had a go at your ttl, and it seemed that http://purl.org/NET/book/vocab#isbn  was not actually the right prefix for i:.
I messed about and got to a pure prefix of http://purl.org/NET/book/isbn/
So I went and used
http://purl.org/NET/book/isbn/0001841572
(ie no #book) which gave the same rdf, and seemed neater.
Eg
http://sameas.org/html?uri=http://purl.org/NET/book/isbn/0001841572
Did I do a Bad Thing? :-)
Cheers
Hugh

On 16/06/2009 23:33, "Toby A Inkster" <tai@g5n.co.uk> wrote:

On 16 Jun 2009, at 12:54, Toby Inkster wrote:

> I'll add the owl:sameAs stuff on my side at lunch time.


I've added some owl:sameAs links to DBpedia as well now:

        e.g. <http://purl.org/NET/book/isbn/9780061474095#book>

My mapping between ISBN numbers and DBpedia resources is here:

        <http://ontologi.es/book/dbpedia-data/isbn.ttl>

It's generated from the DBpedia Ontology ABox data, with ISBNs
cleaned up and canonicalised.

You may notice that each triple in the mapping file is exactly 128
characters (as is the prologue of the file) and triples are sorted by
ISBN in alphabetical order. This allows it to be searched very
quickly using a binary search algorithm - a little geeky perhaps, but
I didn't want to slow my ISBN lookup script down by having to grep
through the entire file (or even parse the entire file as Turtle) for
each script execution. It also looks pretty.

Ian and Hugh may be interested in using isbn.ttl to map between books
on DBpedia and ISBN-based URIs for sameas.org.

<> rdfs:seeAlso <http://esw.w3.org/topic/BookVocabularies> .

--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 16 June 2009 23:15:34 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:21 UTC