Question: What written work, associated with Charles Dickens, served as the basis for a TV film starring Daniel Radcliffe ?
Choices:
The Maltese Falcon
The Hours
Along Came a Spider
The Painted Veil
Starship Troopers
David Copperfield
listed building in the United Kingdom
A Single Man
Interview with the Vampire
Live and Let Die
Answer: David Copperfield
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television film" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Daniel Radcliffe" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e ] <of> ?qpv . ?qpv <pred:value> "Charles Dickens" .  }
Program:
function: Find
inputs: Daniel Radcliffe
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: Relate
dependencies: 2
inputs: based on
forward
function: QFilterStr
dependencies: 3
inputs: of
Charles Dickens
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5