Question: What visual artwork is derivative of an Ian McEwan written work?
Choices:
Rebecca
The Time Machine
The Da Vinci Code
A Prairie Home Companion
The Great Gatsby
Harry Potter and the Order of the Phoenix
The Help
Stardust
Spellbound
Atonement
Answer: Atonement
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "written work" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> "Ian McEwan" .   }
Program:
function: Find
inputs: Ian McEwan
function: Relate
dependencies: 0
inputs: author
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: Relate
dependencies: 2
inputs: derivative work
forward
function: FilterConcept
dependencies: 3
inputs: visual artwork
function: What
dependencies: 4