Question: What does Charles Dickens have to do with Great Expectations (whose genre is black comedy)?
Choices: replaced by
lowest point
participant
founded by
grants
candidate
sidekick of
notable work
interested in
territory claimed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charles Dickens" . ?e_2 <pred:name> "Great Expectations" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "black comedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charles Dickens
function: Find
inputs: black comedy
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: notable work