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