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