Question: What is the connection between Steel Azin F.C. to Tehran (the one that is the capital of Iran)?
Choices:
narrator
subsidiary
headquarters location
afflicts
sports season of league or competition
donated by
has cause
continent
licensed to broadcast to
programming paradigm
Program:
function: Find
inputs: Steel Azin F.C.
function: Find
inputs: Iran
function: Relate
dependencies: 1
inputs: capital of
backward
function: Find
inputs: Tehran
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Steel Azin F.C." . ?e_2 <pred:name> "Tehran" . ?e_2 <capital_of> ?e_3 . ?e_3 <pred:name> "Iran" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location