04-graphs-convert-lossless-manual.html (794B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>Graphs produced can be converted back into JSON-LD with no loss</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 </head> 8 <body> 9 <p>The Annotation Vocabulary JSON-LD context is defined to be at http://www.w3.org/ns/oa</p> 10 <p>Using that context, convert the content below into an RDF graph, then 11 convert that graph back into JSON-LD. Is the content the same?</p> 12 <pre> 13 { 14 "@context": "http://www.w3.org/ns/anno.jsonld", 15 "id": "http://example.org/anno4", 16 "type": "Annotation", 17 "body": "http://example.org/description1", 18 "target": { 19 "id": "http://example.com/image1#xywh=100,100,300,300", 20 "type": "Image", 21 "format": "image/jpeg" 22 } 23 } 24 </pre> 25 </body> 26 </html>