Question: Which has a greater duration, Restless (whose regional debut venue is Cannes Film Festival) or California (which was designed by Roland Anderson)?
Choices:
Pleasantville
Talk to Her
Training Day
Restless
Rebecca
The Towering Inferno
Curse of the Golden Flower
California
The Fifth Element
A Prairie Home Companion
Program:
function: Find
inputs: Cannes Film Festival
function: Relate
dependencies: 0
inputs: film regional debut venue
backward
function: Find
inputs: Restless
function: And
dependencies: 1
2
function: Find
inputs: Roland Anderson
function: Relate
dependencies: 4
inputs: production designer
backward
function: Find
inputs: California
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Restless" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> "Cannes Film Festival" .   } UNION { ?e <pred:name> "California" . ?e <production_designer> ?e_2 . ?e_2 <pred:name> "Roland Anderson" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: California