Question: Between Coming Home, released on 2003-01-08, or The Mummy, with Boris Karloff as a cast member, which is shorter?
Choices: Coming Home
Curse of the Golden Flower
Training Day
Talk to Her
The Towering Inferno
A Prairie Home Companion
The Mummy
Rebecca
The Fifth Element
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Coming Home" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-01-08"^^xsd:date . } UNION { ?e <pred:name> "The Mummy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Boris Karloff" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Coming Home
function: FilterDate
dependencies: 0
inputs: publication date
2003-01-08
=
function: Find
inputs: Boris Karloff
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: The Mummy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: The Mummy