[librecat-dev] Catmandu::Importer::RDF : issue when querying a SPARQL endpoint ?

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Tue May 9 16:06:53 CEST 2017


Ok this is solved when you upgrade the RDF::LDF package to version 0.23

$ cpanm RDF::LDF

Cheers

Patrick

> On 9 May 2017, at 13:55, Patrick Hochstenbach <Patrick.Hochstenbach at UGent.be> wrote:
> 
> There is a bug in using the latest versions of RDF::LDF modules. I’ve created an issue in Catmandu::RDF and will fix this.
> 
> https://github.com/LibreCat/Catmandu-RDF/issues/32
> 
> Patrick
>> On 8 May 2017, at 18:03, François Pichenot <fpichenot at ville-roubaix.fr> wrote:
>> 
>> Hi,
>> 
>> I try to retrieve data from BnF SPARQL endpoint using Catmandu, but I get an issue with XML::Parser.
>> It also occurs with the command-line example you give in Catmandu::Importer::RDF documentation :
>> 
>> $ catmandu convert RDF --url http://dbpedia.org/sparql --sparql "SELECT ?film WHERE { ?film dct:subject <http://dbpedia.org/resource/Category:French_films> } LIMIT 10"
>> Oops!
>> not well-formed (invalid token) at line 1, column 0, byte 0 at /usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.
>> 
>> The same request works very well with CURL :
>> $ curl http://dbpedia.org/sparql/ --data-urlencode query='SELECT ?film WHERE { ?film dct:subject <http://dbpedia.org/resource/Category:French_films> } LIMIT 10'
>> 
>> Thanks !
>> François
> 
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20170509/e4cd1eb2/attachment.asc>


More information about the librecat-dev mailing list