Question: Which movie cost more to make, Mulan (the one that has Frank Welker as a voice actor) or Aladdin (the one whose duration is 91 minute)?
Choices: Mulan
Winnie the Pooh
Peter Pan
Beauty and the Beast
The Rescuers
Aladdin
Lilo & Stitch
Cinderella
Renaissance
WALL·E
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mulan" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Frank Welker" . } UNION { ?e <pred:name> "Aladdin" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "91"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Frank Welker
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Mulan
function: And
dependencies: 1
2
function: Find
inputs: Aladdin
function: FilterNum
dependencies: 4
inputs: duration
91 minute
=
function: SelectBetween
dependencies: 3
5
inputs: cost
greater
Answer: Mulan