Question: What is the connection between Madurai to India (the one that is the release region of The Expendables)?
Choices:
used by
sex or gender
commander of
country
color
instrumentation
given name
had as last meal
organisation directed from the office or person
has parts of the class
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Madurai" . ?e_2 <pred:name> "India" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> "The Expendables" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Madurai
function: Find
inputs: The Expendables
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4