Question: Does Metropolis (the one whose duration is 107 minute) or Monster House (the one that has Robert Zemeckis as an executive producer) have greater duration?
Choices:
Metropolis
Lilo & Stitch
Monster House
The Rescuers
Winnie the Pooh
WALL·E
Renaissance
Peter Pan
Beauty and the Beast
Aladdin
Answer: Metropolis
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Metropolis" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "107"^^xsd:double . } UNION { ?e <pred:name> "Monster House" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Robert Zemeckis" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Metropolis
function: FilterNum
dependencies: 0
inputs: duration
107 minute
=
function: Find
inputs: Robert Zemeckis
function: Relate
dependencies: 2
inputs: executive producer
backward
function: Find
inputs: Monster House
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater