title: Prolog query that checks through list
body: <p>I'm pretty new to prolog and while learning it I stumbled upon a problem that I'm having. I basically have a few database facts. They are:</p>
  
  <pre><code>book(year(1937), title([of,mice,and,men]), rating_out_of_ten(9)).
  book(year(2008), title([the,hunger,games]), rating_out_of_ten(8)).
  </code></pre>
  
  <p>I'm am trying to query the books that have the word "of" in the title. This is what I attempted:</p>
  
  <pre><code>book(year, title, rating_out_of_ten), member(of, title).
  </code></pre>
  
  <p>It returns false when I do this. Can someone please help. Thanks in advance.</p>