Question: Does Chuck (whose publication date is 2016-09-02) or Mars Attacks! have the longer runtime?
Choices: Chuck
Rebecca
Mars Attacks!
Talk to Her
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chuck" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2016-09-02"^^xsd:date . } UNION { ?e <pred:name> "Mars Attacks!" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chuck
function: FilterDate
dependencies: 0
inputs: publication date
2016-09-02
=
function: Find
inputs: Mars Attacks!
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Mars Attacks!