Question: How is Nagpur related to Asia, the continent containing Saudi Arabia?
Choices:
parent club
headquarters location
contributing factor of
continent
honorific suffix
opposite of
programming language
religion
field of this occupation
drafted by
Program:
function: Find
inputs: Nagpur
function: Find
inputs: Saudi Arabia
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> "Nagpur" . ?e_2 <pred:name> "Asia" . ?e_3 <continent> ?e_2 . ?e_3 <pred:name> "Saudi Arabia" . ?e_1 ?p ?e_2 .  }
Answer: continent