Learning Dynamic Spatial Relations: The Case of a Knowledge-based Endoscopic Camera Guidance Robot