Catmandu::Fix::aat_match - Perform a direct match between a term and a Subject in the AAT
Perform a direct match between a term and the SPARQL endpoint of the AAT. This fix will attempt to find a Subject for which the prefLabel in lang (optional, default nl) equals the term. Will return a single item if one is found, or an empty hash if none was found.
Returns the following data:
'id' => 'The dc:identifier of the Subject',
'prefLabel' => 'The prefLabel in the provided language',
'uri' => 'The URI of the Subject'
Path to the term.
Language of both the prefLabel that is matched and the prefLabel that is returned.
Pieter De Praetere <pieter at packed.be >
Copyright 2017- PACKED vzw
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Catmandu Catmandu::AAT Catmandu::Store::AAT Catmandu::Fix::aat_search
To install Catmandu::AAT, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.