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

Include SPARQL parser #21

Closed nichtich closed 8 years ago

nichtich commented 8 years ago

Still being a great library RDF::Query turned out to be too buggy for just parsing, inspecting, and pretty-printing SPARQL queries. It might be better to create a SPARQL parser with Marpa::R2 or Regexp::Grammars based on the official SPARQL grammar. This could also solve #11.

nichtich commented 8 years ago

A SPARQL parser is too heavy, RDF::Query or https://metacpan.org/pod/AtteanX::Parser::SPARQL should do the job with https://metacpan.org/pod/AtteanX::Serializer::SPARQL