What is {doctoral student} of {Stephen Hawking} that is {EThOS thesis ID} is {uk.bl.ethos.625075} ?
The EThOS thesis ID of uk.bl.ethos.625075 was written by which of Stephen Hawking's doctoral students?
Who is the doctoral student for Stephen Hawking with the EThOS thesis ID of uk.bl.ethos.625075?
SELECT ?k WHERE { resource:Stephen_Hawking property:doctoral_student ?h . FILTER ( CONTAINS ( ?d , 'uk.bl.ethos.625075' ) ) . ?h property:doctoral_student ?k . ?h property:EThOS_thesis_ID ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q17714> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P185> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P4536> <uk.bl.ethos.625075>
} 

SELECT ?obj WHERE { wd:Q17714 p:P185 ?s . ?s ps:P185 ?obj . ?s pq:P4536 ?x filter(contains(?x , 'uk.bl.ethos.625075')) }