Question: Which is longer: The Apartment (titled L'Appartement) or The Challenge, which clocks in at 92 minutes?
Choices:
Training Day
Talk to Her
Rebecca
The Apartment
Curse of the Golden Flower
The Towering Inferno
The Challenge
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: The Apartment
function: FilterStr
dependencies: 0
inputs: title
L'Appartement
function: Find
inputs: The Challenge
function: FilterNum
dependencies: 2
inputs: duration
92 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Apartment" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "L'Appartement" . } UNION { ?e <pred:name> "The Challenge" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "92"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Apartment