title: Prolog Find All Predicate
body: <p>I am trying to find all the brothers of a person.. I have created the following rule..</p>
  
  <pre><code>    find_all_brothers(Z):- findall(X,brother(X,Z),X0),write(X0).
  </code></pre>
  
  <p>This works however, if a person has more then one brother then it will only find a single brother.. I'm assuming I have to use recursion somehow but I'm a little stuck! </p>