Understanding knowledge reasoning in AI systems