Question: Which is shorter, Bad Teacher released in Lithuania, or The Alamo which ran for 192 minutes?
Choices:
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Training Day
The Towering Inferno
Curse of the Golden Flower
The Alamo
Bad Teacher
Talk to Her
Program:
function: Find
inputs: Lithuania
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Bad Teacher
function: And
dependencies: 1
2
function: Find
inputs: The Alamo
function: FilterNum
dependencies: 4
inputs: duration
192 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bad Teacher" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Lithuania" . } UNION { ?e <pred:name> "The Alamo" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "192"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bad Teacher