Using spatial relations for qualitative specification of gestures