Question: Which one, Gods and Monsters or Western (the one whose duration is 120 minute), has less duration?
Choices:
The Fifth Element
Training Day
Gods and Monsters
The Towering Inferno
Western
Pleasantville
A Prairie Home Companion
Talk to Her
Rebecca
Curse of the Golden Flower
Program:
function: Find
inputs: Gods and Monsters
function: Find
inputs: Western
function: FilterNum
dependencies: 1
inputs: duration
120 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gods and Monsters" . } UNION { ?e <pred:name> "Western" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "120"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gods and Monsters