Question: Which one is shorter, The Longest Yard (the one whose narrative location is Florida) or Topaz (the one whose publication date is 1969-01-01)  ?
Choices: The Towering Inferno
Training Day
Rebecca
A Prairie Home Companion
The Fifth Element
Talk to Her
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Topaz
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Longest Yard" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Florida" . } UNION { ?e <pred:name> "Topaz" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1969-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Florida
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Longest Yard
function: And
dependencies: 1
2
function: Find
inputs: Topaz
function: FilterDate
dependencies: 4
inputs: publication date
1969-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Topaz