Skip to content

Framing only allows a single Context #356

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

Closed
azaroth42 opened this issue Jul 21, 2014 · 2 comments
Closed

Framing only allows a single Context #356

azaroth42 opened this issue Jul 21, 2014 · 2 comments

Comments

@azaroth42
Copy link
Contributor

If a graph is expanded from multiple contexts and then compacted again, only a single context can be given and thus the original contexts are lost in the process, resulting in URIs for keys that had previously been much prettier strings.

The requirement comes from a multi-community use case, where there is a widely shared and implemented top level context and structure, but individual communities or institutions can, at prescribed points, include their own information in sub-trees with their own contexts.

An artificial example:

{
  "@context" : "http://example.com/main/api/context.json",
  "main:key1" : "value",
  "main:extension" : {
    "@context" : "http://example.museum/extension/context.json",
    "ext:keyX" : "extension value"
  }
}
@lanthaler
Copy link
Member

Thanks Rob. I changed the title of the issue to make it clearer that this actually applies to framing.

@lanthaler lanthaler changed the title Compaction only allows a single Context Framing only allows a single Context Jul 23, 2014
@gkellogg
Copy link
Member

I think #315 already describes this, so this is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants