title: Variable binding in Prolog
body: <p>I have written a predicate <code>common_participant(Person, PairEvent)</code>. which returns pairs of facts from my knowledge base. I was wondering whether there is any way to perform variable binding and collect all results without using the semicolon every time.</p>
  
  <p>Thanks,</p>
  
  <p>I. </p>