Question: What is the relation between Hercules (in which Roger Bart performed) and Greece?
Choices: terminus
residence
dialect of
location of formation
spouse
manufacturer
head of state
ancestral home
maintained by
product or material produced
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Roger Bart" . ?e_2 <pred:name> "Greece" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Roger Bart
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Greece
function: QueryRelation
dependencies: 3
4
Answer: residence