Question: Which one is longer, That's My Boy starring Will Forte or No Country for Old Men that received an Academy Award for Best Director?
Choices:
Rebecca
The Fifth Element
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
No Country for Old Men
That's My Boy
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
Program:
function: Find
inputs: Will Forte
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: That's My Boy
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: No Country for Old Men
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "That's My Boy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Will Forte" .   } UNION { ?e <pred:name> "No Country for Old Men" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Director" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: No Country for Old Men