Catmandu::Wikidata(3pm)

Catmandu::Wikidata3pm

Import from wikidata for processing with catmandu

Usage

    catmandu convert Wikidata --items Q42,P19 to JSON --pretty 1
    echo Q42 | catmandu convert Wikidata to JSON --pretty 1
    catmandu convert Wikidata --site enwiki --title "Emma Goldman" to JSON --pretty 1
    catmandu convert Wkidata --title dewiki:Metadaten to JSON --pretty 1
    catmandu convert Wikidata --title "Emma Goldman" \
        --fix "wd_language('en')" to JSON --pretty 1

Version

version 0.06

Overview

Catmandu::Wikidata provides modules to process data from <http://www.wikidata.org/> within the Catmandu framework. In particular it facilitates access to Wikidata entity record via Catmandu::Importer::Wikidata, the simplification of these records via fixes (wd_language($language), wd_simple(), wd_simple_strings(), and wd_simple_claims()). Other Catmandu modules can be used to further process the records, for instance to load them into a database.

Modules

Catmandu::Importer::Wikidata

Imports entities from <http://www.wikidata.org/>.

Catmandu::Fix::wd_language

Limit string values in a Wikidata entity record to a selected language.

Catmandu::Fix::wd_simple_strings

Simplifies labels, descriptions, and aliases of Wikidata entity record.

Catmandu::Fix::wd_simple_claims

Simplifies claims of a Wikidata entity record.

Catmandu::Fix::wd_simple

Applies Catmandu::Fix::wd_simple_strings and Catmandu::Fix::wd_simple_claims. Further simplifies sitelinks and optionally applies Catmandu::Fix::wd_language.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8–10
  2. 11
  3. 12
  4. 13

Author

Jakob Voß

From libcatmandu-wikidata-perl 0.06-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.