Question: Which miniseries featuring cast member Tom Hardy, who was also cast in The Dark Knight Rises, was penned by Charles Dickens?
Choices:
George Washington
The Pacific
The Ten Commandments
The Civil War
The Diary of Anne Frank
Edge of Darkness
Roots
The Stand
Oliver Twist
Battlestar Galactica
Answer: Oliver Twist
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tom Hardy" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "The Dark Knight Rises" .  ?e <after_a_work_by> ?e_3 . ?e_3 <pred:name> "Charles Dickens" .  }
Program:
function: Find
inputs: The Dark Knight Rises
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Tom Hardy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Find
inputs: Charles Dickens
function: Relate
dependencies: 6
inputs: after a work by
backward
function: FilterConcept
dependencies: 7
inputs: miniseries
function: And
dependencies: 5
8
function: What
dependencies: 9