Question: Was Enchanted or Wallace & Gromit: The Curse of the Were-Rabbit (exploitation visa number 113661) cheaper to make?
Choices:
Alvin and the Chipmunks: Chipwrecked
National Treasure: Book of Secrets
Old Dogs
The Flintstones in Viva Rock Vegas
The Muppets
Holes
G-Force
John Carter
Wallace & Gromit: The Curse of the Were-Rabbit
The Flintstones
Program:
function: Find
inputs: Enchanted
function: Find
inputs: Wallace & Gromit: The Curse of the Were-Rabbit
function: FilterStr
dependencies: 1
inputs: exploitation visa number
113661
function: SelectBetween
dependencies: 0
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Enchanted" . } UNION { ?e <pred:name> "Wallace & Gromit: The Curse of the Were-Rabbit" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "113661" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wallace & Gromit: The Curse of the Were-Rabbit