Question: Tell me the relationship between Kevin Bacon (who was educated at Miami University) to Miami University
Choices:
medical condition
legal form
position played on team / speciality
filmography
educated at
field of this occupation
appointed by
copyright holder
symptoms
chairperson
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kevin Bacon" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Miami University" . ?e_2 <pred:name> "Miami University" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Miami University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Kevin Bacon
function: And
dependencies: 1
2
function: Find
inputs: Miami University
function: QueryRelation
dependencies: 3
4