Question: Which one is longer Syriana, or House of Wax (the one whose publication date is 1953-01-01)?
Choices:
Pleasantville
Training Day
House of Wax
Talk to Her
Syriana
A Prairie Home Companion
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Rebecca
Answer: Syriana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Syriana" . } UNION { ?e <pred:name> "House of Wax" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1953-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Syriana
function: Find
inputs: House of Wax
function: FilterDate
dependencies: 1
inputs: publication date
1953-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater