Show the name and distance of the aircrafts with more than 5000 distance and which at least 5 people have its certificate.
return aircrafts ;return distances of #1 ;return #1 where #2 is  higher than 5000 ;return certificates of #1 ;return people with  #4 ;return number of  #5 for each #1 ;return #1 where #6 is  at least 5 ;return names of both #3 and #7 ;return distances of both #3 and #7 ;return #8 ,  #9
['select', 'project', 'comparative', 'project', 'project', 'group', 'comparative', 'intersection', 'intersection', 'union']