Shape Is like Space: Modeling Shape Representation as a Set of Qualitative Spatial Relations