A Computational Framework for Organizing and Querying Cultural Heritage Archives