Precondition and Effect Reasoning for Action Recognition