gbv / cocoda-db

Colibri Concordance Database: Database Backend (DEPRECATED)
https://coli-conc.gbv.de/cocoda/api
GNU Affero General Public License v3.0
1 stars 0 forks source link

expand connected concepts on request #8

Open nichtich opened 8 years ago

nichtich commented 8 years ago

If concepts listed in topConcept, narrower, broader, related, ancestor... only contain URIs, the corresponding concepts should be expanded on request. The most commonly required fields are probably prefLabel and notation for simple display.

Question: how to trigger this expansion in a request (It's not specified in JSKOS API yet)?

?notation=ABC&expand=narrower&expand_with=notation,prefLabel
nichtich commented 8 years ago

By now some expansion is done if a unique concept is queried by URI but labels are missing. This is important to provide a browsing interface for RVK. To ask for broader, the query should have properties=broader,narrower,....