Question: What does Delhi have to do with Asia (the continent where Tajikistan is located)?
Choices:
narrative location
professional or sports partner
developer
continent
destination point
statistical leader
voice actor
drug used for treatment
has part
penalty
Program:
function: Find
inputs: Delhi
function: Find
inputs: Tajikistan
function: Relate
dependencies: 1
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Delhi" . ?e_2 <pred:name> "Asia" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> "Tajikistan" . ?e_1 ?p ?e_2 .  }
Answer: continent