Representation of knowledge in a legal information retrieval system