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