Question: Which public office is John Jay part of?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q310847 wdt:P39 ?obj . ?obj wdt:P31 wd:Q294414 } 
Answer: Chief Justice of the United States, United States Secretary of State