SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/George_Madison> <http://dbpedia.org/ontology/relation> ?uri. <http://dbpedia.org/resource/Levi_Lincoln,_Sr.> <http://dbpedia.org/property/successor> ?uri}
Which sucessor of George Madison is the sucessor of levi Lincoln, Sr. ?
SELECT DISTINCT ?v WHERE { resource:Levi_Lincoln,_Sr. property:successor ?v . resource:George_Madison property:relation ?v }
James Madison
[James Madison] is the sucessor of George Madison and also the sucessor of levi Lincoln, Sr..
[James Madison] is George Madison's successor, as well as Lincoln Sr's successor.
The relation of the him and successor of the Levi Lincoln, Sr. is [James Madison].
The successor of them is [James Madison].