Ontological framework to improve motion planning of manipulative agents through semantic knowledge-based reasoning