Catmandu::Fix::aat_match(3pm)

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).

  1. 12–13

Author

Pieter De Praetere <pieter at packed.be >

License

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

From libcatmandu-aat-perl 0.03-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.