Question: Bruce Campbell, an alumnus of Winchester College, has what connection to the BBC?
Choices:
used by
connects with
has contributing factor
employer
student of
film editor
dialect of
author
capital of
studied by
Answer: employer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bruce Campbell" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Winchester College" . ?e_2 <pred:name> "BBC" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Winchester College
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 1
2
function: Find
inputs: BBC
function: QueryRelation
dependencies: 3
4