What is {has kid} of {Casey Affleck}, that has {religious affiliation} is {Episcopal Church} ?
Who is the religious Episcopal toddler of Casey Affleck?
Who is the devout Episcopal child of Casey Affleck?
SELECT ?f WHERE { resource:Casey_Affleck property:child ?f . ?f property:religion resource:Episcopal_Church }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q270730> . ?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> ?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/Q682443> . }
SELECT ?answer WHERE { wd:Q270730 wdt:P40 ?answer . ?answer wdt:P140 wd:Q682443}
Atticus Affleck Indiana Affleck