Closed
Description
Is there a way to use the scoped context mechanism to "embed" information in a JSON-LD document such that all term definitions are cleared? So, for example, suppose we had this:
{
"@context": {
"@version": 1.1,
"someTermToClear": "ex:someTermToClear",
"record": {"@id": "ex:record", "@container": "@graph", "@context": null}
},
"someTermToClear": "should be defined here",
"record": {
"@context": {
"someOtherStuff": "ex:someOtherStuff"
},
"@id": "ex:someId",
"someOtherStuff": "this should be defined here",
"someTermToClear": "this should NOT be defined here"
}
}
The goal here is to avoid requiring the author of record
value (or a user of it) to have to know to clear any terms in an "outer container". This may allow "safer" composition/embedding of JSON-LD documents.