Question: Which movie is longer, Restless (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie) or Idaho (the one whose title is Idaho)?
Choices:
Pleasantville
Restless
Talk to Her
A Prairie Home Companion
The Towering Inferno
Training Day
Curse of the Golden Flower
Rebecca
Idaho
The Hunchback of Notre Dame
Answer: Restless
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Restless" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie" . } UNION { ?e <pred:name> "Idaho" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Idaho" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Restless
function: And
dependencies: 1
2
function: Find
inputs: Idaho
function: FilterStr
dependencies: 4
inputs: title
Idaho
function: SelectBetween
dependencies: 3
5
inputs: duration
greater