NAME
Catmandu::Fix::aat_search - Perform a search for a term in the AAT
SYNOPSIS
aat_search(
path,
-lang: nl
)
DESCRIPTION
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).
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'
}
PARAMETERS
Required parameters
path
-
Path to the term.
Optional parameters
lang
-
Language of both the term that is matched and the prefLabel that is returned.
AUTHOR
Pieter De Praetere <pieter at packed.be >
COPYRIGHT
Copyright 2017- PACKED vzw
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.