Question: How is Sri Lanka related to Asia (the one that is the continent that Mandatory Palestine is located) ?
Choices: is a list of
industry
derivative work
enclave within
film release region
performer
manner of death
continent
location
member of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sri Lanka" . ?e_2 <pred:name> "Asia" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> "Mandatory Palestine" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sri Lanka
function: Find
inputs: Mandatory Palestine
function: Relate
dependencies: 1
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: continent