Question: Which is longer, Into the Storm, which was nominated for a Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie, or the comedy-drama Carnage?
Choices:
The Music Man
The Goodbye Girl
The Late Shift
All Quiet on the Western Front
Into the Storm
The Three Musketeers
The Challenge
A Streetcar Named Desire
A Christmas Carol
Shackleton
Answer: Into the Storm
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Into the Storm" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie" .   } UNION { ?e <pred:name> "Carnage" . ?e <genre> ?e_2 . ?e_2 <pred:name> "comedy-drama" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Into the Storm
function: And
dependencies: 1
2
function: Find
inputs: comedy-drama
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Carnage
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater