Question: What is the connection between Richard Wright (the one that is educated at Glasgow School of Art) to Glasgow?
Choices:
work location
narrator
depicted by
instrumentation
original network
has quality
contains administrative territorial entity
head coach
place served by transport hub
follows
Answer: work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wright" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Glasgow School of Art" . ?e_2 <pred:name> "Glasgow" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Glasgow School of Art
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Find
inputs: Glasgow
function: QueryRelation
dependencies: 3
4