Question: How is Shammi Kapoor related to the India in a diplomatic relationship with Mozambique?
Choices:
field of work
country of citizenship
film distribute region
coextensive with
successful candidate
studied by
penalty
official religion
sponsor
costume designer
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shammi Kapoor" . ?e_2 <pred:name> "India" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Mozambique" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shammi Kapoor
function: Find
inputs: Mozambique
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4