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
JSON Common properties require removing JSON-LDisms #344
Comments
As with the RDF version, values of |
Furthermore, do you think that name-value pairs specifying
(snippet from |
I think it requires more work for the implementation to take it out than to just leave it there (although it is not very meaningful for non-LD JSON...) Ivan
Ivan Herman, W3C |
I think it's useful information that doesn't make the data less easy to use, so it should stay in. Note that we use @id in the output, giving the impression that the output is JSON-LD, which it's not. But, if someone came up with a co txt, they could reasonably treat it as if it were, which isn't a bad thing. |
Obviously this applies to processing |
Can we confirm that @gkellogg's proposal (at the beginning of this ISSUE) is sufficient? If so I can add this to the doc. |
Yes Ivan
Ivan Herman, W3C |
in response to ISSUE w3c#344
The algorithm says to simply copy common properties and notes in place, however these have been normalized, and now simple IRI references and values are in expanded form. A simple de-normalize algorithm is necessary to do the following:
{"@value": "something"}
into just"something"
, also ignoring@language
or@type
included in the value object.{"@id": "http://example.com/someplace"}
into simply"http://example.com/someplace"
.The text was updated successfully, but these errors were encountered: