Question: What office was held by James Madison from April 30, 1789?
Answer(s):
answer: President of the United States

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0424m)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0424m ns:government.politician.government_positions_held ?y .
?y ns:government.government_position_held.office_position_or_title ?x .
?x ns:government.government_office_or_title.office_holders ?c .
?c ns:government.government_position_held.from "1789-04-30"^^xsd:dateTime . 
}