1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
package Catmandu::VIAF;
use strict;
our $VERSION = '0.05';
1;
__END__
=encoding utf-8
=head1 NAME
=for html <a href="https://travis-ci.org/thedatahub/Catmandu-VIAF"><img src="https://travis-ci.org/thedatahub/Catmandu-VIAF.svg?branch=master"></a>
Catmandu::VIAF - Retrieve items from the VIAF authority file
=head1 SYNOPSIS
# From the command line
$ catmandu export VIAF --id 102333412 to YAML
---
dcterms:identifier: '102333412'
guid: http://viaf.org/viaf/102333412
schema:birthDate: 1775-12-16
schema:deathDate: 1817-07-18
schema:description: English novelist
skos:prefLabel: Jane Austen
...
# From a Catmandu Fix
lookup_in_store(authortName, VIAF, lang:'nl-NL', fallback_lang:'en-US')
# Perform a direct match between a name and a mainHeadingEl from VIAF
viaf_match(authorName, -lang:'nl-NL', -fallback_lang:'en-US')
# Perform a search for a name in VIAF
viaf_search(authorName, -lang:'nl-NL', -fallback_lang:'en-US')
=head1 MODULES
=over
=item * L<Catmandu::Store::VIAF>
=item * L<Catmandu::Fix::viaf_match>
=item * L<Catmandu::Fix::viaf_search>
=item * L<Catmandu::VIAF::API>
=back
=head1 AUTHORS
Matthias Vandermaesen <matthias.vandermaesen@vlaamsekunstcollectie.be>
Pieter De Praetere <pieter@packed.be>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by PACKED, vzw, Vlaamse Kunstcollectie, vzw.
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, Version 3, June 2007.
=head1 SEE ALSO
L<Catmandu>
L<Catmandu::Store::VIAF>
L<Catmandu::Fix::viaf_search>
L<Catmandu::Fix::viaf_match>
=cut
|