linked-swissbib / hydra-swissbib.ch

MIT License
4 stars 2 forks source link

Clarification: relationship between contexts used in Json-LD and WebAPI #5

Open guenterh opened 6 years ago

guenterh commented 6 years ago

Contexts are used in JSON-LD subjects

We store documents in Elasticsearch and provide our data via data.swissbib.ch

data.swissbib.ch is implemented based on the API - platform (https://api-platform.com/)

api-platform itself is using contexts internally and these contexts are accessible (e.g. http://data.swissbib.ch/contexts/Person)

Actually the contexts might differ from each other (compare https://github.com/linked-swissbib/hydra-swissbib.ch/issues/4) while http://data.swissbib.ch/contexts/Person contains lastName (but without foaf prefix)

I remember that @maechler once mentioned the issue/difficulty in the web-api implementation