title: ProLog Lists Show Result
body: <p>Hi guys I am new to prolog and I am trying to complete my first project.I have a family tree(family/3) with the 3 arguments(person(dad),person(mom),. list with all of the children).Currently I have 3 families on my knowledge base.What I am trying to accomplish is show the names of the mothers that have more than 3 children.Any help would be great.
  This is the code so far.</p>
  
  <pre><code>family(person(tom,right,date(17,May,1950),works(mathematician)),person(ann,right,date(29,May,1951),unemployed),
  [person(pat,right,date(5,May,1983),unemployed),person(max,right,date(15,May,1973),unemployed),[]]).
  
  family(person(nick,wellbard,date(15,September,1954),works(electrician)),person(cathrine,wellbard,date(11,March,1957),unemployed),
  [person(john,wellbard,date(15,May,1985),works(musician)),person(mike,wellbard,date(25,May,1989),unemployed),
  person(chloe,wellbard,date(13,October,1991),unemployed),[]]).
  
  family(person(john,brock,date(17,January,1951),works(programmer)),person(mary,brock,date(19,March,1952),works(teacher)),
  [person(tony,brock,date(20,May,1975),unemployed),person(sasha,brock,date(1,April,1979),unemployed),
  person(josh,brock,date(29,April,1982),unemployed),[]]).
  </code></pre>
  
  <p>I'm thinking something like <code>family(_,X,_):-[X,Y,Z|]</code> so I can show the names of the mothers that have at least 3 children.
  Excuse me for any mistakes I am novice at ProLog,any help or guidance would be great,thanks :)</p>