Question: What is the connection between Raghuvaran and Kerala (that uses Malayalam as the official language)?
Choices:
position played on team / speciality
copyright representative
statistical leader
capital of
permanent resident of
film distribute region
candidacy in election
honorific suffix
head of state
place of birth
Program:
function: Find
inputs: Raghuvaran
function: Find
inputs: Malayalam
function: Relate
dependencies: 1
inputs: official language
backward
function: Find
inputs: Kerala
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Raghuvaran" . ?e_2 <pred:name> "Kerala" . ?e_2 <official_language> ?e_3 . ?e_3 <pred:name> "Malayalam" . ?e_1 ?p ?e_2 .  }
Answer: place of birth