Question: Which one has less running time Frost/Nixon or A Man for All Seasons (the one whose genre is drama film)?
Choices:
Pleasantville
A Prairie Home Companion
Training Day
Talk to Her
Frost/Nixon
Rebecca
Curse of the Golden Flower
The Towering Inferno
A Man for All Seasons
The Fifth Element
Program:
function: Find
inputs: Frost/Nixon
function: Find
inputs: drama film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frost/Nixon" .  } UNION { ?e <pred:name> "A Man for All Seasons" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Man for All Seasons