Question: Which movie is longer, Even Cowgirls Get the Blues or Monte Carlo (the one whose production company is 20th Century Fox)?
Choices:
Rebecca
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Monte Carlo
A Prairie Home Companion
Training Day
The Towering Inferno
Even Cowgirls Get the Blues
Curse of the Golden Flower
Program:
function: Find
inputs: Even Cowgirls Get the Blues
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Monte Carlo
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Even Cowgirls Get the Blues" .  } UNION { ?e <pred:name> "Monte Carlo" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Monte Carlo