What is {written by} of {The Gift of the Magi}, that has {death cause} is {liver cirrhosis} ?
Who is the writer of The Gift of the Magi, that mentions the cause of loss of life from having liver cirrhosis?
Who is the author of The Gift of the Magi, that mentions the cause of death from having liver cirrhosis?
SELECT ?v WHERE { ?v property:cause_of_death resource:liver_cirrhosis . resource:The_Gift_of_the_Magi property:author ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1168338> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50>. ?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/Q147778> . }
SELECT ?answer WHERE { wd:Q1168338 wdt:P50 ?answer . ?answer wdt:P509 wd:Q147778}