Re: Southampton Pub data as linked open data

John Goodwin wrote:
> Hi,
>
> To follow on from Friday I've now finishing my Southampton Pub data as
> linked open data:
>
> http://www.johngoodwin.me.uk/pubs/
>
> Along with the RDF dump there are dereferencable URIs. 
>
> www.johngoodwin.me.uk/pubs/id/pub*
>
> Going to 
>
> www.johngoodwin.me.uk/pubs/description/pub*
>
> For HTML requests, and
>
> www.johngoodwin.me.uk/pubs/data/pub*
>
> For RDF+XML requests. 
>
> All maps are rendered using OS OpenSpace. The site seems to pass the
> Vapour test, but comments welcome.
>
> Just to re-emphasise: this is not in anyway related to Ordnance Survey,
> although being posted from my work address. Apologies for the scruffy
> look of the webpages, but I was more interested in getting the RDF to
> work :) No SPARQL query endpoint as yet...maybe one day. 
>
> John
> .
>
>
> This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.
>
> Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.
>
> Thank you for your cooperation.
>
> Ordnance Survey
> Romsey Road
> Southampton SO16 4GU
> Tel: 08456 050505
> http://www.ordnancesurvey.co.uk
>
>
>
>   
John,

I am getting:

curl -I -H "Accept: application/rdf+xml" 
http://www.johngoodwin.me.uk/pubs/description/pub1
HTTP/1.1 200 OK
Date: Mon, 28 Jul 2008 15:25:49 GMT
Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a 
mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Last-Modified: Sun, 27 Jul 2008 15:52:16 GMT
ETag: "1a0322-6ba4-453036415cc00"
Accept-Ranges: bytes
Content-Length: 27556
Content-Type: text/html

I am requesting the RDF/XML representation of the information resource 
in question via it's URI, but not getting a redirect to the RDF 
representation at:
<http://www.johngoodwin.me.uk/pubs/data/pub1> .

You're 200 OK in it's current form throws off RDF User Agents such as 
our RDF Browser [1] and Data Explore extension for Firefox [2] which 
will do the following:

1. Ask for an RDF/XML representation via Content Negotiation
2. If we don't locate an RDF information resource from step 1;  we will 
scan for <link rel="relevant-predicate" .../>, GRDDL, RDFa
3. Normalize
4. Expose RDF graph

We don't expect a 200 OK for an RDF requests with the resource in 
question being an HTML representation, so right now, we never get to 
discover the RDF information resource.

Solution: just 303 to the RDF information resource that matches RDF 
representation request.

Then I should see: http://tinyurl.com/5he54t
by starting at: http://www.johngoodwin.me.uk/pubs/description/pub1  
instead of what I see currently at: http://tinyurl.com/6lkuaj

Links:

1. http://demo.openlinksw.com/rdfbrowser2
2. https://addons.mozilla.org/en-US/firefox/addon/8062

-- 


Regards,

Kingsley Idehen	      Weblog: http://www.openlinksw.com/blog/~kidehen
President & CEO 
OpenLink Software     Web: http://www.openlinksw.com

Received on Monday, 28 July 2008 15:47:52 UTC