Question: Does Taxi Driver whose length is 133 minutes or The Kingdom whose narrative location is Saudi Arabia have the shorter runtime?
Choices:
The Towering Inferno
Taxi Driver
Talk to Her
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Fifth Element
Training Day
The Kingdom
Program:
function: Find
inputs: Taxi Driver
function: FilterNum
dependencies: 0
inputs: duration
133 minute
=
function: Find
inputs: Saudi Arabia
function: Relate
dependencies: 2
inputs: narrative location
backward
function: Find
inputs: The Kingdom
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taxi Driver" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "133"^^xsd:double . } UNION { ?e <pred:name> "The Kingdom" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Saudi Arabia" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Kingdom