nichtich / wdq

Command line interface to Wikidata Query Service
https://metacpan.org/pod/distribution/App-wdq/script/wdq
Other
54 stars 4 forks source link

Better abbreviate URIs #13

Closed nichtich closed 8 years ago

nichtich commented 8 years ago

RDF::Query does not properly abbreviate URLs in SPARQL: https://github.com/kasei/perlrdf/issues/132

We must either monkey-patch RDF::Query::Node::Resource::as_sparql or postprocess SPARQL query string with a regex.

kasei commented 8 years ago

The fix for this is included in RDF::Query 2.916, which is heading to CPAN right now.

nichtich commented 8 years ago

Thanks! I've also included your fix as conditional monkey-patch in my script to still support RDF::Query 2.902 (included in Ubuntu 14.04 LTS).