Question: Does The Count of Monte Cristo (the one whose duration is 180 minute) or The Painted Veil (the one whose publication date is 1934-01-01) have greater duration ?
Choices:
Curse of the Golden Flower
The Painted Veil
Training Day
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
The Count of Monte Cristo
Talk to Her
The Towering Inferno
Rebecca
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterNum
dependencies: 0
inputs: duration
180 minute
=
function: Find
inputs: The Painted Veil
function: FilterDate
dependencies: 2
inputs: publication date
1934-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "180"^^xsd:double . } UNION { ?e <pred:name> "The Painted Veil" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1934-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Count of Monte Cristo