Question: What is the connection between Ricky Gervais and Reading (the capital of Berkshire)?
Choices:
drug used for treatment
superhuman feature or ability
production company
opposite of
medical condition
fictional universe described in
military conflicts
part of
sponsor
place of birth
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ricky Gervais" . ?e_2 <pred:name> "Reading" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Berkshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ricky Gervais
function: Find
inputs: Berkshire
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Reading
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4