Question: Does Dressed to Kill (whose genre is film noir) or Orange County (whose release date is 2002-07-25) have the shorter running time?
Choices: Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Orange County
The Hunchback of Notre Dame
Dressed to Kill
A Prairie Home Companion
Pleasantville
Rebecca
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dressed to Kill" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film noir" . } UNION { ?e <pred:name> "Orange County" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2002-07-25"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: film noir
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Dressed to Kill
function: And
dependencies: 1
2
function: Find
inputs: Orange County
function: FilterDate
dependencies: 4
inputs: publication date
2002-07-25
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Dressed to Kill