Question: Which one, Lisbon (the one whose production company is Republic Pictures) or Montana (the one whose duration is 92 minute), has less duration?
Choices: Training Day
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Lisbon
Pleasantville
Montana
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lisbon" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Republic Pictures" . } UNION { ?e <pred:name> "Montana" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "92"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Republic Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Lisbon
function: And
dependencies: 1
2
function: Find
inputs: Montana
function: FilterNum
dependencies: 4
inputs: duration
92 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Lisbon