Question: What is the connection between Madurai to India (the one that is the origin country of Enthiran)?
Choices:
tributary
soundtrack album
capital of
has immediate cause
organizer
located on astronomical location
country
office held by head of state
location of final assembly
hair color
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Madurai" . ?e_2 <pred:name> "India" . ?e_3 <country_of_origin> ?e_2 . ?e_3 <pred:name> "Enthiran" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Madurai
function: Find
inputs: Enthiran
function: Relate
dependencies: 1
inputs: country of origin
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4