SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Levi_Lincoln,_Sr.> <http://dbpedia.org/property/successor> ?uri. <http://dbpedia.org/resource/William_Clark> <http://dbpedia.org/property/appointer> ?uri}
Which appointer of William Clark is the successor of Levi Lincoln Sr ?
SELECT DISTINCT ?x WHERE { resource:William_Clark property:appointer ?x . resource:Levi_Lincoln,_Sr. property:successor ?x }
James Madison
The successor of Levi Lincoln Sr and the appointer of William Clark is [James Madison].
[James Madison] is the appointer of William Clark who is the successor of Levi Lincoln Sr .