Question: What is the relation between Peter Cook (the one that is an employee of University College London) and Southend-on-Sea?
Choices:
original film format
country of citizenship
archives at
child
member of sports team
hair color
coextensive with
contains settlement
place of birth
official color
Program:
function: Find
inputs: University College London
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Find
inputs: Southend-on-Sea
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "University College London" . ?e_2 <pred:name> "Southend-on-Sea" . ?e_1 ?p ?e_2 .  }
Answer: place of birth