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
Looks awesome!
On Wed, Oct 7, 2015 at 1:04 PM Jakob Voß Jakob.Voss@gbv.de wrote:
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
-- Jakob Voß jakob.voss@gbv.de Verbundzentrale des GBV (VZG) / Common Library Network Platz der Goettinger Sieben 1, 37073 Göttingen, Germany +49 (0)551 39-10242, http://www.gbv.de/
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Hi Jakob,
Very handy, thanks.
Markus
On 07.10.2015 14:04, Jakob Voß wrote:
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
I have to admit that I'm a little out of sync with Perl these days. Tried to install it with cpanm, but the tests failed and it wouldn't install. What's the prefered way to install Perl modules these days?
Am 07.10.15 um 22:10 schrieb Markus Krötzsch:
Hi Jakob,
Very handy, thanks.
Markus
On 07.10.2015 14:04, Jakob Voß wrote:
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
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Jens Ohlig wrote:
I have to admit that I'm a little out of sync with Perl these days. Tried to install it with cpanm, but the tests failed and it wouldn't install. What's the prefered way to install Perl modules these days?
The "cpanm" (aka cpanminus) command is de-facto standard but installing from prebuild packages is more robust. See the extended guidelines on installation: https://github.com/nichtich/wdq#installation
New features since your mail include Wikidata ontology in a nutshell
$ wdq --ontology
and quick lookup by ID
$ wdq Q1 P8 http://de.wikipedia.org/wiki/Argon
Please open an bug report if installation still fails!
Jakob