Pieter De Praetere
and 1 contributors

NAME

Catmandu::Store::AAT - Retrieve items from the AAT

SYNOPSIS

  lookup_in_store(objectName, AAT, lang:nl)

DESCRIPTION

  lookup_in_store(
    objectName,
    AAT,
    lang: nl
  )

The lang parameter is optional and defaults to nl. It sets the language of the returned prefLabel. If no prefLabel for the Subject in provided lang exists, nothing is returned.

The store takes the dc:identifier of a Subject from the AAT and returns the following data:

  {
    'id'        => 'The dc:identifier of the Subject',
    'prefLabel' => 'The prefLabel in the provided language',
    'uri'       => 'The URI of the Subject'
  }

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.

SEE ALSO

Catmandu Catmandu::AAT Catmandu::Fix::aat_search Catmandu::Fix::aat_match