Question: Is the duration greater for Robots (the one whose duration is 91 minute) or Cars 2 (the one whose release region is Greece)?
Choices:
WALL·E
The Rescuers
Lilo & Stitch
Renaissance
Winnie the Pooh
Beauty and the Beast
Robots
Cars 2
Peter Pan
Aladdin
Answer: Cars 2
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robots" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "91"^^xsd:double . } UNION { ?e <pred:name> "Cars 2" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Greece" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robots
function: FilterNum
dependencies: 0
inputs: duration
91 minute
=
function: Find
inputs: Greece
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Cars 2
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater