Question: What is the connection between Peter Cook (the one that has the occupation of playwright) to Hampstead (the one whose OS grid reference is TQ265855)?
Choices:
narrative location
start point
place of death
ethnic group
member of
noble title
superhuman feature or ability
designed by
part of
distributor
Program:
function: Find
inputs: playwright
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Find
inputs: Hampstead
function: FilterStr
dependencies: 4
inputs: OS grid reference
TQ265855
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "playwright" . ?e_2 <pred:name> "Hampstead" . ?e_2 <OS_grid_reference> ?pv . ?pv <pred:value> "TQ265855" . ?e_1 ?p ?e_2 .  }
Answer: place of death