Question: Which movie is longer, Oliver Twist (the one whose duration is 80 minute) or Oliver Twist (the one whose release region is Belgium)?
Choices:
Training Day
Pleasantville
The Fifth Element
Oliver Twist
A Prairie Home Companion
Oliver Twist
Talk to Her
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Program:
function: Find
inputs: Oliver Twist
function: FilterNum
dependencies: 0
inputs: duration
80 minute
=
function: Find
inputs: Belgium
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Oliver Twist
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oliver Twist" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "80"^^xsd:double . } UNION { ?e <pred:name> "Oliver Twist" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Belgium" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oliver Twist