Question: What kind of relation exists between London School of Economics and John Davis, who attended London School of Economics?
Choices: airline hub
superhuman feature or ability
lowest point
sport
platform
educated at
taxon rank
has quality
child
contributing factor of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "London School of Economics" . ?e_2 <pred:name> "London School of Economics" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: London School of Economics
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: London School of Economics
function: QueryRelation
dependencies: 3
4
Answer: educated at