Question: Which was cheaper to make, Wallace & Gromit: The Curse of the Were-Rabbit (from DreamWorks Animation) or Mary Poppins
Choices:
National Treasure: Book of Secrets
Wallace & Gromit: The Curse of the Were-Rabbit
The Muppets
Mary Poppins
Alvin and the Chipmunks: Chipwrecked
Holes
Old Dogs
G-Force
The Flintstones in Viva Rock Vegas
John Carter
Answer: Mary Poppins
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wallace & Gromit: The Curse of the Were-Rabbit" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "DreamWorks Animation" .   } UNION { ?e <pred:name> "Mary Poppins" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: DreamWorks Animation
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Wallace & Gromit: The Curse of the Were-Rabbit
function: And
dependencies: 1
2
function: Find
inputs: Mary Poppins
function: SelectBetween
dependencies: 3
4
inputs: cost
less