prosopogrAPhI
prosopogrAPhI copied to clipboard
combining json-ld with api endpoint resolving
If we want to achieve a full json-ld based API consumption, it would be good to let the *-refs properties point to the explicit endpoint. This could be achieved in JSON-LD by adding a @context locally, which would replace the @base from the general context-file with the current one.
But:
- following https://www.w3.org/TR/json-ld/#advanced-context-usage each context definition, will override the original, so the new
@basewould be valid for all following URI expansions - It would be necessary to make this
@contextrequired.