Question: How is David Copperfield composed by Malcolm Arnold related to Charles Dickens?
Choices:
operating area
fabrication method
theme music
significant event
replaces
month of the year
after a work by
honorific suffix
is a list of
depicted by
Answer: after a work by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Copperfield" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Malcolm Arnold" . ?e_2 <pred:name> "Charles Dickens" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Malcolm Arnold
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 1
2
function: Find
inputs: Charles Dickens
function: QueryRelation
dependencies: 3
4