Closed nichtich closed 8 years ago
The fix for this is included in RDF::Query 2.916, which is heading to CPAN right now.
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).
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.