Question: How is Duke University alumnus Michael Shannon related to Washington University in St. Louis?
Choices:
follows
native language
mountain range
copyright representative
soundtrack album
time period
headquarters location
educated at
language of work or name
position played on team / speciality
Program:
function: Find
inputs: Duke University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Michael Shannon
function: And
dependencies: 1
2
function: Find
inputs: Washington University in St. Louis
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Shannon" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Duke University" . ?e_2 <pred:name> "Washington University in St. Louis" . ?e_1 ?p ?e_2 .  }
Answer: educated at