Question: Which has a lesser duration, Dragon Ball Z: Lord Slug or The Specialist ( whose publication date is 1999-02-13)?
Choices:
The Fifth Element
The Hunchback of Notre Dame
Training Day
Rebecca
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Dragon Ball Z: Lord Slug
Pleasantville
A Prairie Home Companion
Answer: Dragon Ball Z: Lord Slug
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dragon Ball Z: Lord Slug" . } UNION { ?e <pred:name> "The Specialist" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1999-02-13"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dragon Ball Z: Lord Slug
function: Find
inputs: The Specialist
function: FilterDate
dependencies: 1
inputs: publication date
1999-02-13
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less