Re: [poe] Support JSON-LD

I wrote it by hand (2 hours of cut, copy, paste ;-)

I used the Annotation spec JSON-LD context as the template:
  http://w3c.github.io/web-annotation/vocab/wd/#json-ld-context

Basically, all classes, individuals, and properties (that are not 
taking URI objects) become:
   "xxx": "odrl:xxx"

Any property that takes a URI object becomes:
   "xxx":                 {"@type": "@id", "@id": "odrl:xxx"}

And where we are more specific, we can use the exact xsd:datatype in 
the first @id 

That's the pattern I followed...I *hope* its correct...but I may have 
missed something fundamental ;-)
(and, of course, I made some typos ;-)

I will email the JSON-LD editors direct (I know two of them) and ask 
them to verify/help us out...

(I think the freelancer option is not the best ;-)



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

Received on Friday, 10 February 2017 01:09:46 UTC