Question: Which movie is longer, America America or Labyrinth (the one whose start time is 2012)?
Choices:
Labyrinth
A Streetcar Named Desire
The Late Shift
A Christmas Carol
Shackleton
All Quiet on the Western Front
The Challenge
America America
The Goodbye Girl
The Music Man
Answer: Labyrinth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "America America" . } UNION { ?e <pred:name> "Labyrinth" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 2012 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: America America
function: Find
inputs: Labyrinth
function: FilterYear
dependencies: 1
inputs: start time
2012
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater