Question: Which is shorter, Oliver Twist that is 80 minutes long or The Untouchables starring Sean Connery?
Choices:
The Fifth Element
The Untouchables
The Hunchback of Notre Dame
Talk to Her
Oliver Twist
Rebecca
Pleasantville
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: Oliver Twist
function: FilterNum
dependencies: 0
inputs: duration
80 minute
=
function: Find
inputs: Sean Connery
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: The Untouchables
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oliver Twist" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "80"^^xsd:double . } UNION { ?e <pred:name> "The Untouchables" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sean Connery" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oliver Twist