Question: Which one is longer, Coal Miner's Daughter or Heat (the one whose genre is teen film)   ?
Choices:
The Hunchback of Notre Dame
Talk to Her
Heat
Pleasantville
Training Day
Rebecca
Coal Miner's Daughter
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Answer: Coal Miner's Daughter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Coal Miner's Daughter" .  } UNION { ?e <pred:name> "Heat" . ?e <genre> ?e_1 . ?e_1 <pred:name> "teen film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Coal Miner's Daughter
function: Find
inputs: teen film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Heat
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater