Question: What is the connection between Royal Academy of Arts member Peter Cook and Southend-on-Sea?
Choices:
fabrication method
public holiday
original film format
place of birth
officially opened by
conferred by
copyright holder
talk show guest
board member
next lower rank
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <member_of> ?e_3 . ?e_3 <pred:name> "Royal Academy of Arts" . ?e_2 <pred:name> "Southend-on-Sea" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Royal Academy of Arts
function: Relate
dependencies: 0
inputs: member of
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Find
inputs: Southend-on-Sea
function: QueryRelation
dependencies: 3
4