What is {parent} of {Artaxerxes III}, that has {denomination} is {Zoroastrianism} ?
"Who is { parent } of { Artaxerxes III }, the name of which is { Zoroastrianism }?"
"Who is {parent} of {Artaxerxes III}, whose {denomination} is {Zoroastrianism} ?"
SELECT ?j WHERE { resource:Artaxerxes_III property:father ?j . ?j property:religion resource:Zoroastrianism }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q192867> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22>. ?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/P140> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9601> . }
SELECT ?answer WHERE { wd:Q192867 wdt:P22 ?answer . ?answer wdt:P140 wd:Q9601}
Artaxerxes II of Persia