Question: Which movie cost less to make, Vertigo (the one that has Edith Head as a costume designer) or Anaconda?>
Choices:
A Prairie Home Companion
Anaconda
Rebecca
Talk to Her
Training Day
Curse of the Golden Flower
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
Vertigo
Program:
function: Find
inputs: Edith Head
function: Relate
dependencies: 0
inputs: costume designer
backward
function: Find
inputs: Vertigo
function: And
dependencies: 1
2
function: Find
inputs: Anaconda
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vertigo" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Edith Head" .   } UNION { ?e <pred:name> "Anaconda" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vertigo