What is {denomination} of {has daughters} of {Mahisente Habte Mariam} ?
The children of Mahisente Habte Mariam follow what religion?
What religion do the children of Mahisente Habte Mariam follow?
SELECT ?i WHERE { ?w property:religion ?i . resource:Mahisente_Habte_Mariam property:child ?w }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6734112> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P140> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q6734112 wdt:P40 ?X . ?X wdt:P140 ?answer}
Ethiopian Orthodox Tewahedo Church