Question: Is The fly (with duration of 92 minutes) or All the King's Men published on 2006-01-01 longer?
Choices:
Curse of the Golden Flower
All the King's Men
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
A Prairie Home Companion
Talk to Her
The Fifth Element
The Fly
Program:
function: Find
inputs: The Fly
function: FilterNum
dependencies: 0
inputs: duration
92 minute
=
function: Find
inputs: All the King's Men
function: FilterDate
dependencies: 2
inputs: publication date
2006-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fly" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "92"^^xsd:double . } UNION { ?e <pred:name> "All the King's Men" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2006-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: All the King's Men