Simple Python module to retrieve Getty hierarchies

67 views
Skip to first unread message

ALESSIO MOLINARI

unread,
Jan 14, 2020, 9:18:18 AM1/14/20
to Getty Vocabularies as Linked Open Data
Hi everyone!
Over the past few days I've been working on a Python module (written in Rust) to allow retrieving the hierarchy of any term with a very simple syntax (this can be useful when we need to retrieve the parents of many terms, eg. if we need to do that in a big dataset, without having to wait for the HTTP API).
The repository also offers an executable binary which can be used to build two maps (to be used with the python module): one for actually retrieving the hierarchy and the other one to get a term label from its id; notice that this is not necessary, all it takes to use the Python module is installing the Python wheels offered in the repository.
The project is available here https://github.com/levnikmyskin/getty_hierarchy and at the moment has been tested on Linux only, agains the AAT dump only. If you have any feedback on this, let me know :)

Alessio Molinari
Reply all
Reply to author
Forward
0 new messages