Question: Which one is longer, The King and I (the one whose duration is 90 minute) or Snow White and the Seven Dwarfs ?
Choices:
Renaissance
The King and I
Winnie the Pooh
WALL·E
Beauty and the Beast
Peter Pan
Aladdin
Lilo & Stitch
Shrek 2
Snow White and the Seven Dwarfs
Answer: The King and I
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The King and I" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "90"^^xsd:double . } UNION { ?e <pred:name> "Snow White and the Seven Dwarfs" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The King and I
function: FilterNum
dependencies: 0
inputs: duration
90 minute
=
function: Find
inputs: Snow White and the Seven Dwarfs
function: SelectBetween
dependencies: 1
2
inputs: duration
greater