UNPKG

@recogito/recogito-connections

Version:

A plugin for drawing connections between annotations

120 lines 2.54 kB
[ { "@context": "http://www.w3.org/ns/anno.jsonld", "id": "#1", "type": "Annotation", "body": [ { "type": "TextualBody", "value": "Another comment" } ], "target": { "selector": [ { "type": "TextQuoteSelector", "exact": "death in battle" }, { "type": "TextPositionSelector", "start": 646, "end": 661 } ] } }, { "type": "Annotation", "body": [ { "type": "TextualBody", "value": "Overlapping", "purpose": "tagging" } ], "target": { "selector": [ { "type": "TextQuoteSelector", "exact": "attle or by shipwreck had got safel" }, { "type": "TextPositionSelector", "start": 656, "end": 691 } ] }, "@context": "http://www.w3.org/ns/anno.jsonld", "id": "#2" }, { "type": "Annotation", "body": [ { "type": "TextualBody", "value": "Multiline", "purpose": "tagging" } ], "target": { "selector": [ { "type": "TextQuoteSelector", "exact": "he was acquainted; moreover he suffered much by sea while trying to save his own life and bring his men safely home; but do what he might he could not save his men, for they perished through their own sheer folly in eating the cattle of the Sun-god Hyperion; so the god pre" }, { "type": "TextPositionSelector", "start": 213, "end": 486 } ] }, "@context": "http://www.w3.org/ns/anno.jsonld", "id": "#3" }, { "type": "Annotation", "body": [ { "type": "TextualBody", "value": "Overlap", "purpose": "tagging" } ], "target": { "selector": [ { "type": "TextQuoteSelector", "exact": "o the god prevented them from e" }, { "type": "TextPositionSelector", "start": 473, "end": 504 } ] }, "@context": "http://www.w3.org/ns/anno.jsonld", "id": "#4" }, { "@context": "http://www.w3.org/ns/anno.jsonld", "type": "Annotation", "id": "#relation-1", "body": { "type": "TextualBody", "value": "MyTag", "purpose": "tagging" }, "motivation": "linking", "target": [ { "id": "#1" }, { "id": "#4" } ] } ]