Given the input sentence, please extract the subject and object containing a certain relation in the sentence according to the following relation types, in the format of "relation1: word1, word2; relation2: word3, word4". Relations include: product/material produced; manufacturer; distributed by; industry; position held; original broadcaster; owned by; founded by; distribution format; headquarters location; stock exchange; currency; parent organization; chief executive officer; director/manager; owner of; operator; member of; employer; chairperson; platform; subsidiary; legal form; publisher; developer; brand; business division; location of formation; creator.

It said the Gates Foundation ranked as top funder based on grant dollars consistent within six of the eight Millennium Development Goals (MDGs), while the MasterCard Foundation ranked first in giving consistent with MDG Two and the Ford Foundation ranked first with MDG Three.

Answer: legal_form: Ford Foundation, Foundation