What is {inventor or discoverer} of {Messier 77}, that has {murder method} is {yellow fever} ?
Who is Messier 77's inventor or discoverer whose method of killing is yellow fever?
Who is the inventor or discoverer of Messier 77 whose murder method is yellow fever?
SELECT ?i WHERE { ?i property:cause_of_death resource:yellow_fever . resource:Messier_77 property:discoverer_or_inventor ?i }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q14017> . ?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/P509> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q154874> . }
SELECT ?answer WHERE { wd:Q14017 wdt:P61 ?answer . ?answer wdt:P509 wd:Q154874}
Pierre Méchain