Question: What school, with its headquarters in New Haven, educated Eli Whitney?
Answer(s):
answer: Yale College

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02ncr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02ncr ns:people.person.education ?y .
?y ns:education.education.institution ?x .
?x ns:organization.organization.headquarters ?c .
?c ns:location.mailing_address.citytown ns:m.0f2nf . 
}