Hi,
Based on a script by Marius Hoch (https://github.com/mariushoch/asparagus) I created a command line client to access Wikidata Query Service. The current release 0.2.0 includes the following features:
* adding of default namespaces if needed * multiple output formats * abbreviate Wikidata URIs if requested * directly export to Excel (requires additional CPAN module) * fancy colors
Usage Examples are given at https://github.com/nichtich/wdq#examples
Bug reports and feature requests at https://github.com/nichtich/wdq/issues
Pull requests are welcome if you know some Perl. By now its 300 LoC and ~200 documentation, the largest contribution would be a WDQ to SPARQL translator as implemented here: https://github.com/smalyshev/wdq2sparql
Cheers Jakob