What is {learning what?} of {history of religions}, that has {domain} is {theology} ?
Who is learning history of religions that has theogy as domain?
Who is learning history of religions that has theogy as domain?
SELECT ?e WHERE { resource:history_of_religions property:studies ?e . ?e property:studied_by resource:theology }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q846742> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2578>. ?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/P2579> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q34178> . }
SELECT ?answer WHERE { wd:Q846742 wdt:P2578 ?answer . ?answer wdt:P2579 wd:Q34178}
religion