Question: Does Glory, released in 2016, or Children of Men have the longer running time?
Choices:
Rebecca
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Children of Men
The Fifth Element
Glory
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Program:
function: Find
inputs: Glory
function: FilterYear
dependencies: 0
inputs: publication date
2016
=
function: Find
inputs: Children of Men
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Glory" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2016 . } UNION { ?e <pred:name> "Children of Men" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Children of Men