-
Notifications
You must be signed in to change notification settings - Fork 34
Dealing with other people's @
prefixed terms
#191
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
Comments
Unsurprisingly this has been previously discussed (circa 2013): https://json-ld.org/minutes/2013-10-08/ The OData 4.01 spec is still in draft status (as of late September), so perhaps there's still hope for avoiding this collision/conflict of ecosystems and instead birthing opportunities for developers. I'd certainly prefer that...and hopefully Microsoft and other OData developers would as well. |
Here's a summary post from the 2013 era WG which highlights the (then) interest to work together, and how JSON-LD was (thanks to the context object/file) capable of enhancing OData JSON documents: https://lists.w3.org/Archives/Public/public-rdf-comments/2013Oct/0073.html I'd hate to loose that capability in JSON-LD 1.1, and (obviously) would like to re-liaison with the OData folks to avoid conflicts in the forthcoming OData 4.01 spec. So...back to the key topic. 😉 Does our change about |
Our change does prevent the use of other Current algorithm behavior is to warn and ignore. We should discuss; the landscape's changed quite a bit since pre-1.0, when JSON-LD was looking for traction. |
To be honest, I do not know what else we can do. The |
Is the current OData community aware of this issue? |
Which one? The change in JSON-LD 1.1 or the change in OData 4.01 which would make use with JSON-LD 1.0 or 1.1 impossible? Both are concerning, but the OData 4.01 is the most concerning... |
Do you have a link to any other reading about "the |
One somewhat hacky solution here would be to permit keyword namespacing: |
I just referred to the comment of @gkellogg (#191 (comment)), I guess he may have a reference. |
The |
It’s hacky, but not insane. Perhaps if we considered a potential keyword to be composed of an Less hacky, but perhaps overwrought, would be some explicit way to identify that a set of specific keyword-like strings should be allowed. |
Ah. I think it was |
@gkellogg I think I like the "alpha-numeric characters" option best, though limiting it to just |
Proposal: let's reserve (as in SHOULD NOT and warnings issued) anything of the pattern This would update principally Create Term Definition step 5:
It also affects 14.3, 16.3, and some bits if IRI Expansion along with 3.1 and 9.1 of the syntax document. It might be worth defining the keyword expansion space to be this range, and then just refer to strings in this space as SHOULD be avoided and SHOULD generate warnings. |
…llowed by one or more ALPHA characters. For w3c/json-ld-api#191.
…llowed by one or more ALPHA characters. For w3c/json-ld-api#191.
Relates a bit to #188 and other prefix handling issues in this repo...and also some in the syntax repo.
I began building a context file for the Microsoft Graph which uses OData which uses it's own
@odata.*
prefixed terms. This works relatively well with OData 4.0 (or earlier) JSON documents and a JSON-LD 1.0 processor.However, given our resolution in w3c/json-ld-syntax#16 does that change mean it will become impossible to build context files for OData 4.0 JSON documents? ...because if so...I think we need to reconsider...
More troublesome is the fact that in the OData 4.01 spec they are deprecating the
@odata
prefix entirely:Which likely mean's we'll have full-on term conflicts between
@context
,@type
, and@id
(at least). 😢So, given the OData 4.0
@odata
prefix (which is how Microsoft Graph is written now), is it possible to build a JSON-LD context file and use a JSON-LD 1.1 processor? Or did our resolution in w3c/json-ld-syntax#16 change that?The text was updated successfully, but these errors were encountered: