Towards a Theory of Spatial Relations