A real time urban sustainability assessment framework for the smart city paradigm