A knowledge-based decision support system for seismic assessment of buildings