Question: Which has more cost, psychological horror The Ring or Shortbus?
Choices: The Fifth Element
Shortbus
The Hunchback of Notre Dame
Talk to Her
The Ring
Rebecca
Curse of the Golden Flower
Training Day
The Towering Inferno
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ring" . ?e <genre> ?e_1 . ?e_1 <pred:name> "psychological horror" .   } UNION { ?e <pred:name> "Shortbus" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: psychological horror
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Ring
function: And
dependencies: 1
2
function: Find
inputs: Shortbus
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
Answer: The Ring