Question: Nine, with a plot set in Italy, has what connection to Kate Hudson?
Choices:
place of publication
sex or gender
headquarters location
cast member
has part
film regional debut venue
narrative role
original network
military rank
subsidiary
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nine" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Italy" . ?e_2 <pred:name> "Kate Hudson" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Nine
function: And
dependencies: 1
2
function: Find
inputs: Kate Hudson
function: QueryRelation
dependencies: 3
4