Question: What is the relationship between Atonement (the one that is a notable work of Ian McEwan) to novel?
Choices:
set in period
chief executive officer
voice type
affiliation
had as last meal
genre
film editor
place of birth
eye color
legislative body
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Atonement" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Ian McEwan" . ?e_2 <pred:name> "novel" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ian McEwan
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Atonement
function: And
dependencies: 1
2
function: Find
inputs: novel
function: QueryRelation
dependencies: 3
4