Write a detailed paper on Knowledge Representation in Artificial Intelligence.