Question: What is the relationship between Murali (the one that is an ethnic group of Malayali) and India (the one that has a citizen Shriya Saran)?
Choices: programming paradigm
manner of death
next higher rank
month of the year
approved by
country of citizenship
language of work or name
student of
narrative location
draft pick from school
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Murali" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Malayali" . ?e_2 <pred:name> "India" . ?e_4 <country_of_citizenship> ?e_2 . ?e_4 <pred:name> "Shriya Saran" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Malayali
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Murali
function: And
dependencies: 1
2
function: Find
inputs: Shriya Saran
function: Relate
dependencies: 4
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: country of citizenship