.\" -*- mode: troff; coding: utf-8 -*-
.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
.ie n \{\
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
. if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "Catmandu::Wikidata 3pm"
.TH Catmandu::Wikidata 3pm 2024-03-05 "perl v5.38.2" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH NAME
Catmandu::Wikidata \- Import from Wikidata for processing with Catmandu
.SH VERSION
.IX Header "VERSION"
version 0.06
.SH SYNOPSIS
.IX Header "SYNOPSIS"
.Vb 1
\& 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" \e
\& \-\-fix "wd_language(\*(Aqen\*(Aq)" to JSON \-\-pretty 1
.Ve
.SH DESCRIPTION
.IX Header "DESCRIPTION"
\&\fBCatmandu::Wikidata\fR provides modules to process data from
within the Catmandu framework. In particular it
facilitates access to Wikidata entity record via
Catmandu::Importer::Wikidata, the simplification of these records via fixes
(\f(CWwd_language($language)\fR, \f(CWwd_simple()\fR, \f(CWwd_simple_strings()\fR, and
\&\f(CWwd_simple_claims()\fR). Other Catmandu modules can be used to further process
the records, for instance to load them into a database.
.SH MODULES
.IX Header "MODULES"
.IP Catmandu::Importer::Wikidata 4
.IX Item "Catmandu::Importer::Wikidata"
Imports entities from .
.IP Catmandu::Fix::wd_language 4
.IX Item "Catmandu::Fix::wd_language"
Limit string values in a Wikidata entity record to a selected language.
.IP Catmandu::Fix::wd_simple_strings 4
.IX Item "Catmandu::Fix::wd_simple_strings"
Simplifies labels, descriptions, and aliases of Wikidata entity record.
.IP Catmandu::Fix::wd_simple_claims 4
.IX Item "Catmandu::Fix::wd_simple_claims"
Simplifies claims of a Wikidata entity record.
.IP Catmandu::Fix::wd_simple 4
.IX Item "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.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
Background information on Catmandu can be found at .
.PP
Background information on Wikidata can be found at
.
.SH AUTHOR
.IX Header "AUTHOR"
Jakob Voß
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
This software is copyright (c) 2014 by Jakob Voß.
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.