Let's say I have a collection of documents (pdf or images etc.).
For each document I have the original, for some I have transcribed text (and for some of those an additional layer featuring translated text if the original was non-English).
On top of those I have my own semi-structured notes regarding the document (context, source, links to other documents, meaning).
Does there exist a (foss) file format/program that I can use to view/structure/store/edit those various semantic layers?