Question: Does Good Night, and Good Luck. or Aliens (the one whose title is Aliens) have greater cost ?
Choices: A Prairie Home Companion
Curse of the Golden Flower
Good Night, and Good Luck.
The Towering Inferno
Aliens
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Rebecca
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Good Night, and Good Luck." . } UNION { ?e <pred:name> "Aliens" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Aliens" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Good Night, and Good Luck.
function: Find
inputs: Aliens
function: FilterStr
dependencies: 1
inputs: title
Aliens
function: SelectBetween
dependencies: 0
2
inputs: cost
greater
Answer: Aliens