Question: What is the connection between Patna to Asia (the one that is the continent that Mysore locates)?
Choices:
genre
used by
narrator
said to be the same as
voice actor
continent
father
convicted of
present in work
place of birth
Answer: continent
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Patna" . ?e_2 <pred:name> "Asia" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> "Mysore" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Patna
function: Find
inputs: Mysore
function: Relate
dependencies: 1
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4