SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/predecessor> <http://dbpedia.org/resource/John_W._Weeks> . ?x <http://dbpedia.org/property/president> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TennisPlayer>}
Who was the president under which a tennis player held office before John W. Weeks?
SELECT DISTINCT ?p WHERE { ?n property:president ?p . ?n rdf:type ontology:Tennis_Player . ?n property:predecessor resource:John_W._Weeks }
Calvin Coolidge, Herbert Hoover
The president under which a tennis player held office before John W. Weeks were [Calvin Coolidge, Herbert Hoover].
The president who had a tennis player before John W. Wicks was [Colvin Coolidge,] Hoover.
The President of the tennis player whose predecessor is him  are [Calvin Coolidge, Herbert Hoover].
The president of a tennis player whose predecessor he is [Calvin Coolidge].