Question: Which is longer, Speed Racer published on 2008-05-08 or Get Shorty starring Gene Hackman?
Choices: Curse of the Golden Flower
The Towering Inferno
The Fifth Element
Speed Racer
Training Day
Pleasantville
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Get Shorty
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Speed Racer" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-05-08"^^xsd:date . } UNION { ?e <pred:name> "Get Shorty" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gene Hackman" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Speed Racer
function: FilterDate
dependencies: 0
inputs: publication date
2008-05-08
=
function: Find
inputs: Gene Hackman
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Get Shorty
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Speed Racer