Question: What is the connection between Tehran (the one whose official website is http://www.tehran.ir/) to Havana (the one that is the twinned administrative body of Santo Domingo)?
Choices:
properties for this type
location of formation
twinned administrative body
interested in
ancestral home
archives at
licensed to broadcast to
interests
has part
voice type
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tehran" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.tehran.ir/" . ?e_2 <pred:name> "Havana" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Santo Domingo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tehran
function: FilterStr
dependencies: 0
inputs: official website
http://www.tehran.ir/
function: Find
inputs: Santo Domingo
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Havana
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5