answer:
setof(Name, person(Name, blue, brown), Answer).