Question: Which inner planet is the setting of the feature film with cast member Thomas Haden Church?
Choices:
Venus
magic in Harry Potter
Earth
Central Michigan University
The Merry Widow
Arizona
New York City
John Wood
John Hughes
Mars
Answer: Mars
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "inner planet" . ?e_1 <narrative_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "feature film" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Thomas Haden Church" .   }
Program:
function: Find
inputs: Thomas Haden Church
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: Relate
dependencies: 2
inputs: narrative location
forward
function: FilterConcept
dependencies: 3
inputs: inner planet
function: What
dependencies: 4