Question: What is the connection between Peter Weir (the one that is educated at Queen's University Belfast) to Queen's University Belfast?
Choices:
contributor(s) to the creative work
has cause
political alignment
owner of
characters
educated at
winner
use
foundational text
history of topic
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Weir" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Queen's University Belfast" . ?e_2 <pred:name> "Queen's University Belfast" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Queen's University Belfast
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Peter Weir
function: And
dependencies: 1
2
function: Find
inputs: Queen's University Belfast
function: QueryRelation
dependencies: 3
4