In order to provide the search program with a substantial degree of flexibility and to fit it to the content of the texts, it was decided to implement a relational database (®Microsoft Access) associated with the encoded documents.

Database tables contain the value-equivalent of specific topographical elements, the terminology of which varies according to the chronology of the diaries and the different interpretation phases. Since the application has been designed to consider the "formal" structure of the text as well as its "substantial" content, the developed architecture is able to consult the database and provide users with a list of options containing only the values that are related to the selected topographical and chronological context.

On the user side, the application is a collection of HTML pages. The sequence followed by the user is relatively simple: at the initial search page, the user selects the diaries on which the search is to be performed. The selection is sent to an ASP page that reads the files of the selected excavation years on the server and stores the data in a variable of the SESSION object of ASP, and then opens the database of the querying structures. This procedure aims at populating the option lists generated by the user selection.