Inductive learning of answer set programs for autonomous surgical task planning