Question: What is the relationship between Esteghlal F.C. and Tehran (the one that is the twinned administrative body of Budapest)?
Choices:
has edition
public holiday
headquarters location
librettist
takes place in fictional universe
film distribute region
league
location of formation
symptoms
newspaper format
Answer: headquarters location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Esteghlal F.C." . ?e_2 <pred:name> "Tehran" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Budapest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Esteghlal F.C.
function: Find
inputs: Budapest
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Tehran
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4