Question: Which cost more, The Princess and the Frog or Shrek 2, which featured Antonio Banderas as a voice actor?
Choices:
The Princess and the Frog
Renaissance
Beauty and the Beast
Aladdin
Lilo & Stitch
Winnie the Pooh
WALL·E
Peter Pan
Shrek 2
The Rescuers
Answer: Shrek 2
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Princess and the Frog" .  } UNION { ?e <pred:name> "Shrek 2" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Antonio Banderas" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Princess and the Frog
function: Find
inputs: Antonio Banderas
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Shrek 2
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater