Question: Which one, J. Edgar or The Ring (the one that was nominated for Saturn Award for Best Actress), has less cost?
Choices:
Curse of the Golden Flower
The Ring
A Prairie Home Companion
J. Edgar
The Towering Inferno
Talk to Her
Pleasantville
Rebecca
Training Day
The Fifth Element
Answer: J. Edgar
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "J. Edgar" .  } UNION { ?e <pred:name> "The Ring" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Saturn Award for Best Actress" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: J. Edgar
function: Find
inputs: Saturn Award for Best Actress
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Ring
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less