skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
36 stars 25 forks source link

Different `id` in json and jsonas #95

Closed acka47 closed 1 year ago

acka47 commented 4 years ago

For example https://w3id.org/kim/hcrt/slide.

$ curl -LH "accept: application/json" https://w3id.org/kim/hcrt/slide | jq .idgives"https://w3id.org/kim/hcrt/slide"`

~$ curl -LH "accept: application/activity+json" https://w3id.org/kim/hcrt/slide | jq .id gives "https://skohub.io/dini-ag-kim/hcrt/heads/master/w3id.org/kim/hcrt/slide"

@literarymachine, is this intended like this? My impression is that both ids should be the same (https://w3id.org/kim/hcrt/slide).

acka47 commented 2 years ago

Will be obsolete after #171.