% Simple knowledge base books and authors
wrote(jKRowling, harryPotter1).
wrote(jKRowling, harryPotter2).
wrote(jKRowling, harryPotter3).
wrote(jKRowling, harryPotter4).
wrote(jKRowling, harryPotter5).
wrote(jRRTolkin, lordOfTheRings1).
wrote(jRRTolkin, lordOfTheRings2).
wrote(jRRTolkin, lordOfTheRings3).
wrote(jimCarey, bugsLife).
wrote(yourMum, ninetyNineProblems).
wrote(shakespeare, macbeth).
% Find all books in your knowledge base by one author
wrote(jRRTolkin, X).