Question: What is the connection between Peter Boyle (the one that died in Doncaster) to Doncaster?
Choices:
contains settlement
opposite of
characters
lyrics by
doctoral student
ethnic group
honorific suffix
place of death
designed by
penalty
Program:
function: Find
inputs: Doncaster
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Peter Boyle
function: And
dependencies: 1
2
function: Find
inputs: Doncaster
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Boyle" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Doncaster" . ?e_2 <pred:name> "Doncaster" . ?e_1 ?p ?e_2 .  }
Answer: place of death