Knowledge representation of digital hermeneutics of archival and literary sources