Question: Which movie cost less to make, Lords of Dogtown or Star Wars Episode V: The Empire Strikes Back (the one that has Alec Guinness as a cast member)?
Choices:
Talk to Her
Training Day
The Towering Inferno
Rebecca
Lords of Dogtown
The Fifth Element
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
Star Wars Episode V: The Empire Strikes Back
Program:
function: Find
inputs: Lords of Dogtown
function: Find
inputs: Alec Guinness
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Star Wars Episode V: The Empire Strikes Back
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lords of Dogtown" .  } UNION { ?e <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alec Guinness" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Star Wars Episode V: The Empire Strikes Back