Question: Which movie is shorter, Reversal of Fortune or Million Dollar Baby (the one that mainly depicts boxing)?
Choices:
Training Day
Reversal of Fortune
The Fifth Element
Rebecca
Million Dollar Baby
A Prairie Home Companion
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Program:
function: Find
inputs: Reversal of Fortune
function: Find
inputs: boxing
function: Relate
dependencies: 1
inputs: main subject
backward
function: Find
inputs: Million Dollar Baby
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Reversal of Fortune" .  } UNION { ?e <pred:name> "Million Dollar Baby" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "boxing" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Reversal of Fortune