What is {named for} of {Fermat's principle}, that has {alumnus of} is {University of Toulouse} ?
An alumnus of the University of Toulouse, for whom is Fermet's precept named?
An alumnus of the University of Toulouse, for whom is Fermet's principle named?
SELECT ?k WHERE { resource:Fermat's_principle property:named_after ?k . ?k property:educated_at resource:University_of_Toulouse }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q331041> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138>. ?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/P69> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q578023> . }
SELECT ?answer WHERE { wd:Q331041 wdt:P138 ?answer . ?answer wdt:P69 wd:Q578023}