Question: Which movie is longer, Monte Carlo (the one that is shot in Monaco) or A Christmas Carol (the one whose producer is Chuck Jones)?
Choices:
The Fifth Element
A Christmas Carol
The Hunchback of Notre Dame
Curse of the Golden Flower
Monte Carlo
The Towering Inferno
Talk to Her
Rebecca
Pleasantville
Training Day
Program:
function: Find
inputs: Monaco
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Monte Carlo
function: And
dependencies: 1
2
function: Find
inputs: Chuck Jones
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monte Carlo" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Monaco" .   } UNION { ?e <pred:name> "A Christmas Carol" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Chuck Jones" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Monte Carlo