Input: New York City
Under New York State's gradual abolition act of 1799, children of slave mothers were born to be eventually liberated but were held in indentured servitude until their mid-to-late twenties. Together with slaves freed by their masters after the Revolutionary War and escaped slaves, a significant free-black population gradually developed in Manhattan. Under such influential United States founders as Alexander Hamilton and John Jay, the New York Manumission Society worked for abolition and established the African Free School to educate black children. It was not until 1827 that slavery was completely abolished in the state, and free blacks struggled afterward with discrimination. New York interracial abolitionist activism continued; among its leaders were graduates of the African Free School. The city's black population reached more than 16,000 in 1840.

When was slavery completely outlawed in the state of New York?
Output: 1827

Input: Iran
In 1935, Reza Shah requested the international community to refer to the country by its native name, Iran. As the New York Times explained at the time, "At the suggestion of the Persian Legation in Berlin, the Tehran government, on the Persian New Year, Nowruz, March 21, 1935, substituted Iran for Persia as the official name of the country." Opposition to the name change led to the reversal of the decision, and Professor Ehsan Yarshater, editor of Encyclopædia Iranica, propagated a move to use Persia and Iran interchangeably. Today, both Persia and Iran are used in cultural contexts; although, Iran is the name used officially in political contexts.

Who endorsed a move to use Persia and Iran interchangeably after opposition to the official name change?
Output: Professor Ehsan Yarshater

Input: American Idol
The loss of viewers continued into season seven. The premiere was down 11% among total viewers, and the results show in which Kristy Lee Cook was eliminated delivered its lowest-rated Wednesday show among the 18–34 demo since the first season in 2002. However, the ratings rebounded for the season seven finale with the excitement over the battle of the Davids, and improved over season six as the series' third most watched finale. The strong finish of season seven also helped Fox become the most watched TV network in the country for the first time since its inception, a first ever in American television history for a non-Big Three major broadcast network. Overall ratings for the season were down 10% from season six, which is in line with the fall in viewership across all networks due in part to the 2007–2008 Writers Guild of America strike.

During which season of American Idol did Fox beat the other networks in ratings for the first time? 
Output: season seven

Input: Political philosophy
The early Christian philosophy of Augustine of Hippo was heavily influenced by Plato. A key change brought about by Christian thought was the moderatation of the Stoicism and theory of justice of the Roman world, as well emphasis on the role of the state in applying mercy as a moral example. Augustine also preached that one was not a member of his or her city, but was either a citizen of the City of God (Civitas Dei) or the City of Man (Civitas Terrena). Augustine's City of God is an influential work of this period that attacked the thesis, held by many Christian Romans, that the Christian view could be realized on Earth.

What was a key change brought about by Christian thought?
Output:
the moderatation of the Stoicism