Question: Which movie is longer, Mrs. Parker and the Vicious Circle or Tuvalu (the one whose duration is 92 minute)?
Choices:
Rebecca
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
Mrs. Parker and the Vicious Circle
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Pleasantville
Training Day
Program:
function: Find
inputs: Mrs. Parker and the Vicious Circle
function: Find
inputs: Tuvalu
function: FilterNum
dependencies: 1
inputs: duration
92 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mrs. Parker and the Vicious Circle" . } UNION { ?e <pred:name> "Tuvalu" . ?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 DESC(?v) LIMIT 1
Answer: Mrs. Parker and the Vicious Circle