What is {developer} of {quicksort}, that has {doctoral student} is {Augusto Sampaio} ?
"Who is {engineer} of {quicksort}, which has {doctoral understudy} is {Augusto Sampaio} ?""
"Who is {developer} of {quicksort}, which has {doctoral student} is {Augusto Sampaio} ?"
SELECT ?f WHERE { resource:quicksort property:discoverer_or_inventor ?f . ?f property:doctoral_student resource:Augusto_Sampaio }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q486598> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P61>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P185> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q16466596> . }
SELECT ?answer WHERE { wd:Q486598 wdt:P61 ?answer . ?answer wdt:P185 wd:Q16466596}
Tony Hoare