Question: Is The Patriot published on 1928-08-17 or Fish Tank longer?
Choices:
Rebecca
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Talk to Her
Fish Tank
The Patriot
The Towering Inferno
Training Day
Pleasantville
Answer: Fish Tank
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Patriot" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1928-08-17"^^xsd:date . } UNION { ?e <pred:name> "Fish Tank" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Patriot
function: FilterDate
dependencies: 0
inputs: publication date
1928-08-17
=
function: Find
inputs: Fish Tank
function: SelectBetween
dependencies: 1
2
inputs: duration
greater