Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When referenced context change, resource cannot be retrieved #750

Closed
umbreak opened this issue Oct 4, 2019 · 0 comments · Fixed by BlueBrain/nexus-kg#734

Comments

@umbreak
Copy link
Contributor

commented Oct 4, 2019

If we have a resource as follows:

{
   "@context": "http://example.com/mycontext",
   "@id": "myId"
}

with the context as:

{
   "@context": {
      "@base": "http://example/com/base/"
   },
   "@id": "http://example.com/mycontext"
}

And then we update the context to something like this:

{
   "@context": {
      "alias": "http://example.com/myalias"
   },
   "@id": "http://example.com/mycontext"
}

When attempting to fetch the resource we will get an error, because we cannot get the @id value anymore from the resource (since ids have to be Iris)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.