I've been wanting to provide a high-fidelity many-to-many commenting system inside of a text editor or browser since I was in college. My thought was that if you could annotate something as complex as Shakespeare: http://imgur.com/FgsyAco then you could annotate legal documents, code, and other high-density texts as well. I've long felt that existing solutions fall down in a few ways: 1. UX -- this is a HARD UX probl…
This is actually built into this specification. From the Web Annotation Data Model [0]:
- Annotations have 0 or more Bodies.
- Annotations have 1 or more Targets.
So one "Annotation" object can have multiple bodies (descriptions) attached to multiple targets.> 3. Relationships between comments
This sounds more like an implementation detail of a client than part of the protocol or data model put forth by the W3C group.
However, I believe this can kind of be done server-side with the Web Annotation Protocol [1]'s idea of Annotation Containers. Your server can map a single annotation to multiple containers. So perhaps you have an endpoint like `http://example.com/a/` and you want to arrange a hierarchy of comments. You could provide a filtered set of the annotations at `http://example.com/a/romeo/consonance/`, and similar endpoints.
So basically what I'm saying is it seems like the protocol here isn't going to get in your way, it's just incentive to use this particular model for storing and transferring your data.
[0]: https://www.w3.org/TR/annotation-model/#web-annotation-princ...
[1]: https://www.w3.org/TR/annotation-protocol/#container-retriev...