Question: What school that boasts Barack Obama as an alumnus has its organizational headquarters in New York City?
Answer(s):
answer: Columbia University

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02mjmr)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02mjmr 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.02_286 . 
}