Question: Which is shorter, New Mexico published on 1951-01-01 or Unknown that was shot in Berlin?
Choices: Training Day
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Rebecca
New Mexico
Unknown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Mexico" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1951-01-01"^^xsd:date . } UNION { ?e <pred:name> "Unknown" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Berlin" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Mexico
function: FilterDate
dependencies: 0
inputs: publication date
1951-01-01
=
function: Find
inputs: Berlin
function: Relate
dependencies: 2
inputs: filming location
backward
function: Find
inputs: Unknown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: New Mexico