Scroll to navigation

Catmandu::Fix::wd_simple_strings(3pm) User Contributed Perl Documentation Catmandu::Fix::wd_simple_strings(3pm)

NAME

Catmandu::Fix::wd_simple_strings - Simplify labels, descriptions, and aliases of Wikidata entity records

VERSION

version 0.06

DESCRIPTION

This Catmandu::Fix modifies a Wikidata entity record by simplifying the labels, aliases, and descriptions. In particular it converts

    "en": { "language: "en", "value": "foo" }
    "en": [ { "language: "en", "value": "foo" }, 
            { "language: "en", "value": "bar" } ]

to

    "en": "foo"
    "en": ["foo","bar"]

SEE ALSO

Catmandu::Fix::wd_simple applies both Catmandu::Fix::wd_simple_strings and Catmandu::Fix::wd_simple_claims.

AUTHOR

Jakob Voß

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-03-05 perl v5.38.2