Question: Which costs more, Miracle on 34th Street whose duration is 92 minutes or Mission: Impossible that is followed by Mission: Impossible II?
Choices: Training Day
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
Mission: Impossible
Rebecca
The Towering Inferno
Miracle on 34th Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "92"^^xsd:double . } UNION { ?e <pred:name> "Mission: Impossible" . ?e_1 <follows> ?e . ?e_1 <pred:name> "Mission: Impossible II" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Miracle on 34th Street
function: FilterNum
dependencies: 0
inputs: duration
92 minute
=
function: Find
inputs: Mission: Impossible II
function: Relate
dependencies: 2
inputs: follows
forward
function: Find
inputs: Mission: Impossible
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: cost
greater
Answer: Mission: Impossible