Question: Which movie cost less, Timeline (the one that mainly depicts time travel) or Citizen Kane?
Choices:
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
Training Day
Talk to Her
Timeline
Citizen Kane
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: time travel
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Timeline
function: And
dependencies: 1
2
function: Find
inputs: Citizen Kane
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Timeline" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "time travel" .   } UNION { ?e <pred:name> "Citizen Kane" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Citizen Kane