Catmandu::Fix::aat_search3pm
Perform a search for a term in the aat
Usage
aat_search(path,-lang: nl)
Overview
Perform a search for a term and the SPARQL endpoint <http://vocab.getty.edu/sparql> 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 <http://vocab.getty.edu/doc/#Full_Text_Search> ("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.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).