Question: Which was shorter, Hannibal (with Frankie Faison) or Moon, which was published on 2009-01-23?
Choices: Talk to Her
Training Day
Curse of the Golden Flower
The Fifth Element
Hannibal
Pleasantville
Moon
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hannibal" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Frankie Faison" . } UNION { ?e <pred:name> "Moon" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-01-23"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Frankie Faison
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hannibal
function: And
dependencies: 1
2
function: Find
inputs: Moon
function: FilterDate
dependencies: 4
inputs: publication date
2009-01-23
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Moon