Catmandu::Fix::aat_search - Perform a search for a term in the AAT
aat_search( path, -lang: nl )
Perform a search for a term and the SPARQL endpoint of the AAT. This fix will attempt to find a Subject that contains a prefLabel, altLabel or a Subject ID containing the searched for term. More details can be found here (luc:term is used).
luc:term
Returns an array of results containing the following data:
{ 'id' => 'The dc:identifier of the Subject', 'prefLabel' => 'The prefLabel in the provided language', 'uri' => 'The URI of the Subject' }
path
Path to the term.
lang
Language of both the term 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.
cpanm
cpanm Catmandu::AAT
CPAN shell
perl -MCPAN -e shell install Catmandu::AAT
For more information on module installation, please visit the detailed CPAN module installation guide.