Question: Which movie cost more to make, Lilo & Stitch or Rise of the Guardians?
Choices:
Beauty and the Beast
Cinderella
Shrek 2
Peter Pan
WALL·E
The Rescuers
Renaissance
Winnie the Pooh
Rise of the Guardians
Lilo & Stitch
Program:
function: Find
inputs: Lilo & Stitch
function: Find
inputs: Rise of the Guardians
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lilo & Stitch" .  } UNION { ?e <pred:name> "Rise of the Guardians" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rise of the Guardians