Refactored some of the latex documents, modified the errors for the ontology import in AddExample1 and AddExample2.

Also, added the category transaction query in Category directory.