Given phrases that describe the relationship between two words/phrases as options, extract the word/phrase pair and the corresponding lexical relationship between them from the input text. The output format should be "relation1: word1, word2; relation2: word3, word4". Options: 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