Question: Which movie is longer, Grey Gardens (the one that was nominated for Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie) or Larry Crowne?
Choices:
All Quiet on the Western Front
The Goodbye Girl
The Challenge
Grey Gardens
The Three Musketeers
The Late Shift
A Christmas Carol
Shackleton
A Streetcar Named Desire
Larry Crowne
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: Grey Gardens
function: And
dependencies: 1
2
function: Find
inputs: Larry Crowne
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grey Gardens" . ?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> "Larry Crowne" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Grey Gardens