Question: What school did the political appointee whose title was Collector of the Port of New York attend?
Answer(s):
answer: United States Military Academy

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:government.political_appointer.appointees ?k .
?k ns:government.government_position_held.office_position_or_title ns:m.05c27m6 . 
?c ns:people.person.education ?y .
?y ns:education.education.institution ?x .
}