Question: Which is shorter, romance film Miracle on 34th Street or Maid in Manhattan?
Choices:
Training Day
Curse of the Golden Flower
Maid in Manhattan
The Towering Inferno
The Hunchback of Notre Dame
Miracle on 34th Street
The Fifth Element
A Prairie Home Companion
Talk to Her
Rebecca
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: Maid in Manhattan
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <genre> ?e_1 . ?e_1 <pred:name> "romance film" .   } UNION { ?e <pred:name> "Maid in Manhattan" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Maid in Manhattan