Context and action: A unitary vision within a logic-based multi-agent environment