Question: Which is longer, Fargo that received an Academy Award for Best Writing, Original Screenplay or Eureka starring Mickey Rourke?
Choices:
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
Fargo
Pleasantville
Talk to Her
The Fifth Element
Eureka
Rebecca
Answer: Eureka
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fargo" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Original Screenplay" .   } UNION { ?e <pred:name> "Eureka" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Mickey Rourke" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Fargo
function: And
dependencies: 1
2
function: Find
inputs: Mickey Rourke
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Eureka
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater