Question: Between There Will Be Blood or Transylvania, from France, which is shorter?
Choices:
There Will Be Blood
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
Pleasantville
The Towering Inferno
Transylvania
The Fifth Element
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: There Will Be Blood
function: Find
inputs: France
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Transylvania
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "There Will Be Blood" .  } UNION { ?e <pred:name> "Transylvania" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Transylvania