Question: Does Wimbledon (the one whose duration is 98 minute) or Death on the Nile (the one whose publication date is 1978-01-01) have lesser duration ?
Choices:
Training Day
Death on the Nile
Curse of the Golden Flower
Pleasantville
The Towering Inferno
Rebecca
A Prairie Home Companion
Wimbledon
The Hunchback of Notre Dame
Talk to Her
Answer: Wimbledon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wimbledon" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "98"^^xsd:double . } UNION { ?e <pred:name> "Death on the Nile" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1978-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Wimbledon
function: FilterNum
dependencies: 0
inputs: duration
98 minute
=
function: Find
inputs: Death on the Nile
function: FilterDate
dependencies: 2
inputs: publication date
1978-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less