Question: What person is educated at the university that is located in Tehran (that is the twinned administrative body of Bangkok)?
Choices:
Daniel Craig
Shriya Saran
Robert Forster
Jon Voight
Ossie Davis
Zach Braff
Andy Heyward
Philip Roth
Abbas Kiarostami
Peter Weller
Program:
function: Find
inputs: Bangkok
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Tehran
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: university
function: Relate
dependencies: 5
inputs: educated at
backward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Tehran" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Bangkok" .   }
Answer: Abbas Kiarostami