Question: How is Hercules (the one that lives in Greece) related to Roger Bart ?
Choices:
uses
characters
medical treatment
performer
approved by
employer
place of origin (Switzerland)
depicted by
sport
exported to
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Roger Bart
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "Greece" . ?e_2 <pred:name> "Roger Bart" . ?e_1 ?p ?e_2 .  }
Answer: performer