Question: Which has a shorter duration, My Sister's Keeper or Monster published on 2008-01-01?
Choices: Pleasantville
Rebecca
Curse of the Golden Flower
Talk to Her
Monster
My Sister's Keeper
The Hunchback of Notre Dame
The Fifth Element
Training Day
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "My Sister's Keeper" . } UNION { ?e <pred:name> "Monster" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: My Sister's Keeper
function: Find
inputs: Monster
function: FilterDate
dependencies: 1
inputs: publication date
2008-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Monster