A Framework for the Semantics-aware Modelling of Objects