Standoff Properties
How do we encode textual information in the Hypermedia protocol? Text Encoding Techniques This is (roughly) the approach that we use in the Hypermedia protocol. Benefit of Standoff Properties With HTML, this must be encoded as: <p>
<em>overlapping <b>annotations</b></em> <b>cause problems</b>
</p> Notice how there are two bold tags even though there is only one range of bold text. With Standoff Properties we have a much cleaner result: {
"text": "overlapping annotations cause problems"
"annotations": [
{ "type": "italic", "at": [0, 23] }
{ "type": "bold", "at": [12, 38] }
]
} This becomes even more important as we support a more diverse set of text annotations over time, and support annotations from a variety of authors. Linking In the future we plan to support this, as well as showing backlinks to overlapping ranges of text. References