Question: Which film has the exploitation visa number of 94332 (the start time of this statement is 1998-04-14) and has Leonardo DiCaprio as a cast member?
Choices:
Pleasantville
Curse of the Golden Flower
Talk to Her
Rebecca
The Man in the Iron Mask
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
Training Day
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: exploitation visa number
94332
function: QFilterDate
dependencies: 1
inputs: start time
1998-04-14
=
function: FilterConcept
dependencies: 2
inputs: film
function: Find
inputs: Leonardo DiCaprio
function: Relate
dependencies: 4
inputs: cast member
backward
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> "94332" . [ <pred:fact_h> ?e ; <pred:fact_r> <exploitation_visa_number> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> "1998-04-14"^^xsd:date . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Leonardo DiCaprio" .  }
Answer: The Man in the Iron Mask