- From: simon via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Sep 2017 05:29:00 +0000
- To: public-poe-archives@w3.org
> i think all we need to do is updated:
`"@value": "print",`
to
`"@value": { "@id": "print" },`
I'm no JSON-LD expert myself, but according to https://json-ld.org/spec/latest/json-ld/#value-objects:
> A value object MUST be a JSON object containing the @value key. It MAY also contain an @type, an @language, an @index, or an @context key but MUST NOT contain both an @type and an @language key at the same time. **A value object MUST NOT contain any other keys that expand to an absolute IRI or keyword.**
>
> **The value associated with the @value key MUST be either a string, a number, true, false or null.**
as such, `rdf:value` can't be mapped to `@value`
=> `"rdf:value": { "@id": "print" },` should work though
--
GitHub Notification of comment by simonstey
Please view or discuss this issue at https://github.com/w3c/poe/issues/241#issuecomment-327074897 using your GitHub account
Received on Tuesday, 5 September 2017 05:28:59 UTC