What is {writer} of {Ninety-five Theses}, that has {tomb} is {All Saints' Church} ?
Who has a tomb in All Saints' Church and wrote "Ninety-five Theses"?
Who has a tomb in All Saints' Church and wrote "Ninety-five Theses"?
SELECT ?x WHERE { ?x property:place_of_burial resource:All_Saints'_Church . resource:Ninety-five_Theses property:author ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q157506> . ?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/P119> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q661752> . }
SELECT ?answer WHERE { wd:Q157506 wdt:P50 ?answer . ?answer wdt:P119 wd:Q661752}
Martin Luther