Question: Which cost less, Miracle on 34th Street designed by Richard Day or Lords of Dogtown?
Choices:
Training Day
The Hunchback of Notre Dame
Lords of Dogtown
Miracle on 34th Street
The Towering Inferno
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Rebecca
Pleasantville
Answer: Miracle on 34th Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Richard Day" .   } UNION { ?e <pred:name> "Lords of Dogtown" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Richard Day
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: Lords of Dogtown
function: SelectBetween
dependencies: 3
4
inputs: cost
less