Question: Does the 50-minute Louisiana or drama film Thunder Bay have the shorter run-time?
Choices:
Thunder Bay
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Pleasantville
The Fifth Element
Rebecca
Training Day
Louisiana
Program:
function: Find
inputs: Louisiana
function: FilterNum
dependencies: 0
inputs: duration
50 minute
=
function: Find
inputs: drama film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Thunder Bay
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisiana" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "50"^^xsd:double . } UNION { ?e <pred:name> "Thunder Bay" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Louisiana