Re: [poe] Support JSON-LD

Overall, it looks good. However... unfortunately, Example 25 is incorrect. Incorrect JSON at the moment and, unfortunately, it is not even that easy to do it in a proper JSON-LD. Indeed, JSON-LD becomes a bit complex (too complex for my taste) when the idea is to have a forest, so to say, and not a tree of objects. (A separate keywords, `@graph` must be used, AFAIK; @gkellogg should advise us.)

I see two possibilities.

1. Fold in `http://example.com/policy:7171` into the tree as the value of `target` in the duty; or
2. Cut the example into two to make it clear that these are two resources completely separated from one another (and it is up to a ODRL processor to combine the graphs before handling them)

I have only a mild preference for the second option, but only mild.


-- 
GitHub Notification of comment by iherman
Please view or discuss this issue at https://github.com/w3c/poe/issues/46#issuecomment-297399797 using your GitHub account

Received on Wednesday, 26 April 2017 13:02:11 UTC