Expressiveness of temporal query languages: on the modelling of intervals, interval relationships and states