SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/prizes> <http://dbpedia.org/resource/National_Medal_of_Science> . ?uri <http://dbpedia.org/property/doctoralAdvisor> ?x . }
Who have done their PhDs under a National Medal of Science winner?
SELECT DISTINCT ?p WHERE { ?q property:prizes resource:National_Medal_of_Science . ?p property:doctoral_advisor ?q . }
answer
The scientists, whose doctoral advisor have a National Medal of Science prize, are [answer].
Scientists whose doctoral thesis has been awarded the National Medal of Science - [answer].