Skip to content

thedatahub/Catmandu-AAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Catmandu::AAT - Retrieve and search items from the Getty AAT Thesaurus

SYNOPSIS

# From the command line
$ catmandu export AAT --id 300033618 --lang en to YAML
---
id: '300033618'
prefLabel: paintings (visual works)
uri: http://vocab.getty.edu/aat/300033618
...

# From a Catmandu Fix
lookup_in_store(
  objectName,    # objectName is a field containing the AAT identifier
  AAT,
  lang: nl
)

# Perform a direct match between a term and a Subject in the AAT
aat_match(objectName, -lang:nl)

# Perform a search for a term in the AAT
aat_search(objectName, -lang:nl)

MODULES

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::Store::AAT Catmandu::Fix::aat_search Catmandu::Fix::aat_match