Question: What is the relationship between Amazon (the one whose country is Colombia) and Colombia?
Choices: has part
cites
participant
geographic distribution
basic form of government
domain of saint or deity
dialect of
conferred by
mouth of the watercourse
country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Amazon" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Colombia" . ?e_2 <pred:name> "Colombia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Colombia
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Amazon
function: And
dependencies: 1
2
function: Find
inputs: Colombia
function: QueryRelation
dependencies: 3
4
Answer: country