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