What are the first names and office of the professors who are in the history department and have a Ph.D?
return professors ;return departments of  #1 ;return #1 where #2 is  history ;return #3 who  have  a Ph.D ;return first names of  #4 ;return offices of  #4 ;return #5 ,  #6
['select', 'project', 'comparative', 'filter', 'project', 'project', 'union']