Question: Which movie is shorter, Dressed to Kill (the one whose duration is 72 minute) or Iron Man (the one that has Rock Hudson as a cast member)?
Choices:
Iron Man
The Hunchback of Notre Dame
Dressed to Kill
The Fifth Element
Rebecca
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: Dressed to Kill
function: FilterNum
dependencies: 0
inputs: duration
72 minute
=
function: Find
inputs: Rock Hudson
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Iron Man
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dressed to Kill" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "72"^^xsd:double . } UNION { ?e <pred:name> "Iron Man" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rock Hudson" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dressed to Kill