What is {doctoral advisor} of {Andreas Vesalius} that is {object has role} is {second doctoral advisor} ?
Tell me who is Andreas Vesalius's second doctoral advisor?
Who was the second doctoral advisor to Andreas Vesalius?
SELECT ?q WHERE { ?h property:doctoral_advisor ?q . ?h property:object_has_role resource:second_doctoral_advisor . resource:Andreas_Vesalius property:doctoral_advisor ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170267> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P184> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P3831> <http://wikidata.dbpedia.org/resource/Q26236691>
} 

SELECT ?obj WHERE { wd:Q170267 p:P184 ?s . ?s ps:P184 ?obj . ?s pq:P3831 wd:Q26236691 }