Re: Debates of the European Parliament as LOD

On 2014-11 -11, at 09:00, Hollink, L. <l.hollink@vu.nl> wrote:

> On 08 Nov 2014, at 17:20, Tim Berners-Lee <timbl@w3.org> wrote:
> 
>> 
>> On 2014-11 -05, at 11:19, Hollink, L. <l.hollink@vu.nl> wrote:
>> 
>>> ----- Dataset announcement -----
>>> 
>>> We are happy to announce the release of a new linked dataset: the proceedings of the plenary debates of the European Parliament as Linked Open Data.
>>> 
>>> The dataset covers all plenary debates held in the European Parliament (EP) between July 1999 and January 2014, and biographical information about the members of parliament. It includes: the monthly sessions of the EP, the agenda of debates, the spoken words and translations thereof in 21 languages; the speakers, their role and the country they represent; membership of national parties, European parties and commissions. The data is available though a SPARQL endpoint, see http://linkedpolitics.ops.few.vu.nl/ for more details.
>>> 
>>> Please note that this is a first version; we hope you will try it out and send us your feedback!
>>> 
>>> ----- Access to the data -----
>>> We provide access in three ways:
>>> • Through a SPARQL endpoint at http://linkedpolitics.ops.few.vu.nl/sparql/
>>> • Using the ClioPatria web interface at http://linkedpolitics.ops.few.vu.nl/
>>> • By downloading data dumps. See http://linkedpolitics.ops.few.vu.nl/.
>>> 
>> 
>> I am on a plane so I can't check but I hope also the data is Linked Data,
>> in that every URI used can be looked up directly by HTTP GET.
>> 
>> 
>> TimBL
> 
> 
> Dear Tim, 
> 
> Yes it is. Thanks for looking into it!
> E.g. 
> 	curl --location --header "Accept:application/rdf+xml" http://purl.org/linkedpolitics/eu/plenary/1999-07-20/Speech_1 
> gives:
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <!DOCTYPE rdf:RDF [
>    <!ENTITY dc 'http://purl.org/dc/elements/1.1/'>
>    <!ENTITY lp 'http://purl.org/linkedpolitics/vocabulary/'>
>    <!ENTITY lp_eu 'http://purl.org/linkedpolitics/vocabulary/eu/plenary/'>
>    <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
>    <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'>
> ]>
> 
> <rdf:RDF
>    xmlns:dc="&dc;"
>    xmlns:lp="&lp;"
>    xmlns:lp_eu="&lp_eu;"
>    xmlns:rdf="&rdf;"
>    xmlns:xsd="&xsd;"
>> 
> <lp_eu:Speech rdf:about="http://purl.org/linkedpolitics/eu/plenary/1999-07-20/Speech_1">
>  <lp:spokenText xml:lang="en">
>              – I declare resumed the session of the European Parliament adjourned on 7 May 1999, [ … etc.]
> 
> Laura
> 
> 


Great.  
It works for me with cwm  and curl.

With firefox with the tabulator extension I get a 500 error.
I thought that it was maybe confused because tabulator accepts HTML and RDF.  But trying that with an accept header doesn't reproduce the problem

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0 
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.5,text/plain,image/png,*/*;q=0.1,application/rdf+xml,text/n3,text/turtle 
Accept-Language: en-us,en;q=0.7,fr;q=0.3 
Accept-Encoding: gzip, deflate 






<!DOCTYPE html>
<html>
<head>
<title>500 Internal server error</title>

<meta http-equiv="content-type" content="text/html; 
charset=UTF-8">

</head>
<body>

<h1>Internal server error</h1>

<p>
goal unexpectedly failed: 
conf_lod:lod_api([redirected_from('http://purl.org/linkedpolitics/'),bounded_description(cbd)],[path_info('eu/plenary/1999-07-20/Speech_1'),protocol(http),peer(ip(10,0,3,1)),pool(client('httpd@3020',cp_server:http_dispatch,&lt;stream&gt;(0x7f878c1996e0),&lt;stream&gt;(0x7f878c1997d0))),input(&lt;stream&gt;(0x7f878c1996e0)),method(get),request_uri('/rdf/eu/plenary/1999-07-20/Speech_1'),path('/rdf/eu/plenary/1999-07-20/Speech_1'),http_version(1-1),host('linkedpolitics.ops.few.vu.nl'),connection(upgrade),user_agent('Mozilla/5.0
 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 
Firefox/33.0'),accept('application/rdf+xml, application/xhtml+xml;q=0.3,
 text/xml;q=0.2, application/xml;q=0.2, text/html;q=0.3, 
text/plain;q=0.1, text/n3;q=1.0, application/x-turtle;q=1, 
text/turtle;q=1'),accept_language('en-us,en;q=0.7,fr;q=0.3'),accept_encoding('gzip,
 deflate')])<br>
In:<br>
  [15] throw(error(...,_G5781))<br>
  [14] http_dispatch:call_action(conf_lod: ...,[...|...]) at 
/home/linkedpolitics/lib/swipl/library/http/http_dispatch.pl:642<br>

   [8] httpd_wrapper:call_handler(cp_server:http_dispatch,818,[...|...])
 at 
/home/linkedpolitics/lib/swipl/library/http/http_wrapper.pl:296<br>

   [7] catch(httpd_wrapper: ...,error(...,...),httpd_wrapper:true) at 
/home/linkedpolitics/lib/swipl/boot/init.pl:274<br>
   [6] 
httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,818,[...|...],current_output,error(...,...))
 at 
/home/linkedpolitics/lib/swipl/library/http/http_wrapper.pl:276<br>

   [5] 
httpd_wrapper:handler_with_output_to(cp_server:http_dispatch,818,[...|...],&lt;stream&gt;(0x7f878c016590),error(...,...))
 at 
/home/linkedpolitics/lib/swipl/library/http/http_wrapper.pl:286<br>

   [4] 
httpd_wrapper:http_wrapper(cp_server:http_dispatch,&lt;stream&gt;(0x7f878c1996e0),&lt;stream&gt;(0x7f878c1997d0),_G5923,[...|...])
 at 
/home/linkedpolitics/lib/swipl/library/http/http_wrapper.pl:106<br>

   [3] 
thread_httpd:http_process(cp_server:http_dispatch,&lt;stream&gt;(0x7f878c1996e0),&lt;stream&gt;(0x7f878c1997d0),[...|...])
 at 
/home/linkedpolitics/lib/swipl/library/http/thread_httpd.pl:588<br>

   [2] catch(thread_httpd: ...,_G5967,thread_httpd:true) at 
/home/linkedpolitics/lib/swipl/boot/init.pl:274<br>
   [1] thread_httpd:http_worker([...|...]) at 
/home/linkedpolitics/lib/swipl/library/http/thread_httpd.pl:413<br>

   [0] &lt;meta call&gt;</p><address><a 
href="http://www.swi-prolog.org">SWI-Prolog</a> httpd at 
linkedpolitics</address>
</body>
</html>

Received on Thursday, 20 November 2014 10:33:11 UTC