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