Question: Which movie is shorter, Footloose (the one that has Sarah Jessica Parker as a cast member) or Get Low (the one that was nominated for Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role)?
Choices:
Get Low
The Hunchback of Notre Dame
Training Day
Curse of the Golden Flower
Talk to Her
Footloose
The Fifth Element
The Towering Inferno
Rebecca
Pleasantville
Program:
function: Find
inputs: Sarah Jessica Parker
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Footloose
function: And
dependencies: 1
2
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Get Low
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Footloose" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sarah Jessica Parker" .   } UNION { ?e <pred:name> "Get Low" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Get Low