Project

General

Profile

Actions

Feature #1991

open

Import controlled vocabularies via API

Added by Bernhard Koschiček-Krombholz 3 months ago. Updated 3 days ago.

Status:
In Progress
Priority:
Normal
Category:
API
Target version:
Start date:
2023-03-20
Estimated time:

Description

The VOCABS service of the ACDH-CH has an API which can be used to import controlled vocabularies into OpenAtlas.

Branch: feature_vocabs

Questions:
  • Should empty top concepts be imported as hierarchy?
  • Do we want to import only published hierarchies or also stages (except INDIGO)? -> authentication for staging area required
To do (* required):
  • Choose language if available*
  • Choose multiple *
  • Choose which OpenAtlas classes are linked*
  • Make ID, URI and API URI as input field and not config vars
  • Make preview as type tree

Resources
Swagger of the Skosmos API: https://vocabs-api.acdh.oeaw.ac.at/ (choose HTTPS to try it out)

Try it out resolves to https://vocabs.acdh.oeaw.ac.at, INDIGO is still on https://vocabs.acdh-dev.oeaw.ac.at/ and password protected (Bernhard has the credentials)

All vocabularies: https://vocabs.acdh-dev.oeaw.ac.at/rest/v1/vocabularies?lang=de
INDIGO: https://vocabs.acdh-dev.oeaw.ac.at/rest/v1/indigo/
INDIGO top concepts: https://vocabs.acdh-dev.oeaw.ac.at/rest/v1/indigo/topConcepts

To get the narrower of a concept: https://vocabs.acdh-dev.oeaw.ac.at/rest/v1/indigo/narrower?uri=https://vocabs.acdh.oeaw.ac.at/indigo/ActivitiesF

(Thanks to Klaus for the input)


Related issues 2 (1 open1 closed)

Related to OpenAtlas - Feature #1663: Controlled vocabularies via Vocabs ClosedMassimiliano Carloni2022-03-22Actions
Precedes OpenAtlas - Feature #2019: Redesign admin areaAcknowledged2023-03-21Actions
Actions #1

Updated by Bernhard Koschiček-Krombholz 3 months ago

  • Related to Feature #1663: Controlled vocabularies via Vocabs added
Actions #2

Updated by Bernhard Koschiček-Krombholz 28 days ago

  • Description updated (diff)
  • Status changed from Assigned to In Progress
  • Target version changed from 7.15.0 to 7.14.0

Basic functionality is implemented and works for every hierarchy.

Actions #3

Updated by Bernhard Koschiček-Krombholz 28 days ago

  • Description updated (diff)
Actions #4

Updated by Bernhard Koschiček-Krombholz 28 days ago

  • Description updated (diff)
Actions #5

Updated by Alexander Watzinger 21 days ago

Actions #6

Updated by Bernhard Koschiček-Krombholz 3 days ago

  • Description updated (diff)
Actions #7

Updated by Bernhard Koschiček-Krombholz 3 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF