Question: What film has Jim Broadbent and John Wood, who died 2011-08-06, as cast members?
Choices:
Paddington
Jane Eyre
Chocolat
An Ideal Husband
Brazil
Nicholas and Alexandra
Hot Fuzz
Richard III
Orlando
Sabrina
Program:
function: Find
inputs: Jim Broadbent
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: John Wood
function: FilterDate
dependencies: 3
inputs: date of death
2011-08-06
=
function: Relate
dependencies: 4
inputs: cast member
backward
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jim Broadbent" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "John Wood" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "2011-08-06"^^xsd:date .  }
Answer: Richard III