Catmandu::Fix::aat_match3pm
Perform a direct match between a term and a subject in the aat
Usage
aat_match(path,-lang: nl)
Overview
Perform a direct match between a term and the SPARQL endpoint <http://vocab.getty.edu/sparql> 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'}
Parameters
Required parameters
- "path"
-
Path to the term.
Optional parameters
- "lang"
-
Language of both the prefLabel that is matched and the prefLabel that is returned.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).