Skip to content

tingletech/vocab_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vocab_search

search controlled vocabularies for URLs to "link" into descriptive records

work in progress

Right now, this is an experiment using vocab.getty.edu (Open Data Commons Attribution Licnese).

Sample document (that will be indexed by elasticsearch)

{
  "@context": "http://tingletech.github.io/vocab_search/context.json", 
  "@id": "http://vocab.getty.edu/tgn/7785518", 
  "@type": "gvp:PhysPlaceConcept", 
  "gvp:prefLabelGVP": {
    "@id": "http://vocab.getty.edu/tgn/term/1002493375-en"
  }, 
  "skosxl:altLabel": {
    "@id": "http://vocab.getty.edu/tgn/term/1002493376", 
    "dc:identifier": "1002493376", 
    "gvp:displayOrder": {
      "@type": "xsd:positiveInteger", 
      "@value": "2"
    }, 
    "gvp:term": "Port Julia", 
    "skosxl:literalForm": "Port Julia"
  }, 
  "skosxl:prefLabel": {
    "@id": "http://vocab.getty.edu/tgn/term/1002493375-en", 
    "dc:identifier": "1002493375", 
    "gvp:displayOrder": {
      "@type": "xsd:positiveInteger", 
      "@value": "1"
    }, 
    "gvp:term": {
      "@language": "en", 
      "@value": "Julia, Port"
    }, 
    "skosxl:literalForm": {
      "@language": "en", 
      "@value": "Julia, Port"
    }
  }
}

grab latest getty vocabs

checks for file changes

./sync.sh

parse the getty vocabs

./parse_getty_rdf.py

write out framed json-ld

./create_getty_resource_json.py

put files into elasticsearch

TODO

cloud formation / AWS setup

TODO

Notice

https://github.com/tingletech/vocab_search contains information from Art & Architecture Thesaurus (AAT)®, Thesaurus of Geographic Names (TGN)® and Union List of Artist Names (ULAN)® which are made available under the ODC Attribution License.

About

search controlled vocabularies for URLs to "link" into descriptive records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published