SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/opponent> <http://dbpedia.org/resource/John_G._Schmitz> . ?x <http://dbpedia.org/ontology/incumbent> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Politician>}
Under which US president was a politician in opposition of John G Schmitz?
SELECT DISTINCT ?k WHERE { ?r property:opponent resource:John_G._Schmitz . ?r property:incumbent ?k . ?r rdf:type ontology:Politician }
Richard Nixon
The president of the politician whose opponent is John G Schmitz is [Richard Nixon].
The president of a politician whose opponent's name is John G is [Richard Nixon].
[Richard Nixon] is the incumbent of the politician whose opponent is John G. Schmitz .
[Richard Nixon] is a politician whose opponent he is.
[Richard Nixon] is the incumbent of the politician whose opponent is the person .
Under [Richard Nixon] John G Schmitz was in opposition.