Question: What is the connection between Charlie and the Chocolate Factory (the one whose publication date is 1964) to Roald Dahl?
Choices:
has quality
published in
eye color
replaces
lifestyle
author
participant
religious order
convicted of
military rank
Answer: author
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charlie and the Chocolate Factory" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1964 . ?e_2 <pred:name> "Roald Dahl" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charlie and the Chocolate Factory
function: FilterYear
dependencies: 0
inputs: publication date
1964
=
function: Find
inputs: Roald Dahl
function: QueryRelation
dependencies: 1
2