-
Notifications
You must be signed in to change notification settings - Fork 30
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
Define json-ld profile URI for OA serialization context and structure #30
Comments
Rob, I would like to understand it more. Do you mean that there will be different flavors of JSON-LD using the annotation model, or that the JSON-LD used for the encoding of the annotation model is, by itself a flavor of JSON-LD and we have to allow for content negotiations to find that out? If the latter: note that the CSVW Working Group defines a metadata format for CSV files which also restricts JSON-LD in some sense. Ie, it is a different 'flavor', so to say. The decision we took was to simply define a different media type, derived from JSON; that may be more flexible for clients that want JSON and they do not care about the relationship to JSON-LD. I am not saying this is what we should do, but it may be a data point to consider. |
(Leaving this open until the profile document is actually written. The URI is at least now defined) |
I dislike the solution choosen by the CSVW WG creating yet another media type |
Noting external discussions relevant to this issue:
|
That being said, I would prefer to avoid any structure that is not valid JSON-LD. |
@azaroth42 wrote:
Please note that this so far is only a proposal discussed in the Social Web WG and that I do not agree with creating a new media type. Lists of lists as such are not incompatible with JSON-LD. See w3c/activitystreams#52 (comment) and w3c/activitystreams#52 (comment) |
From: w3c/activitystreams#52 (comment) GeoJSON's "lists of lists" are indeed "not allowed" within JSON-LD 1.0 though addressing this issue in JSON-LD 1.0 is a planned discussion for the forthcoming JSON-LD 1.1 specification. |
Proposal: Use the context URL as the profile for Annotations in JSON-LD, and embed a description and relevant links in the body of the graph of the context document. |
Could work indeed |
@BigBlueHat lists of lists are allowed in JSON-LD but it is not possible to use JSON-LD contexts for them so that they can be interpreted as triples. |
@akuckartz sure, but then it's a lossy format by default--which seems bad. The creation of |
I'm not sure we have consensus around using Raised as a separate issue, #125. |
proposal accepted at telco http://www.w3.org/2015/12/16-annotation-irc#T16-43-00 going for profile |
I guess it should anno+ld+json to go from the most specific to the most general. But, and somebody please correct me if I am wrong (because I would like to be wrong) the media type specifications have only a two level hierarchy. Ie, a generic JSON-LD processor will not understand I think we have two, non-exclusive possibilities.
I think the present issue addresses only (1) above, and it is a good thing to have this. That has now been decided. (2) is a separate issue; I will raise it as such on the issue list. Personally, I am undecided whether we want to do (2) or not, but that can be decided later. |
😄 |
Define a profile URI for the context and recommended structure of annotations in JSON-LD.
This is needed to allow systems to content negotiate (at the protocol level) for different flavors of JSON-LD on top of the same content. Any response that follows the serialization should have the profile included to let clients know how to interpret it, and clients need to be able to send it in the request to ask for it.
See in particular:
The text was updated successfully, but these errors were encountered: