Question: What is the relationship between Fresno (the one that is the capital of Fresno County) and Kochi?
Choices:
indigenous to
geographic distribution
notable people with this condition
patron saint
twinned administrative body
exported to
next lower rank
diplomatic relation
appointed by
father
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fresno" . ?e_1 <capital_of> ?e_3 . ?e_3 <pred:name> "Fresno County" . ?e_2 <pred:name> "Kochi" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Fresno County
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Fresno
function: And
dependencies: 1
2
function: Find
inputs: Kochi
function: QueryRelation
dependencies: 3
4