Question: Which movie is shorter, Ghostbusters (the one whose duration is 117 minute) or Star Trek (the one that was nominated for Academy Award for Best Makeup and Hairstyling)?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Pleasantville
The Towering Inferno
Ghostbusters
Curse of the Golden Flower
Training Day
Star Trek
Program:
function: Find
inputs: Ghostbusters
function: FilterNum
dependencies: 0
inputs: duration
117 minute
=
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Star Trek
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghostbusters" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "117"^^xsd:double . } UNION { ?e <pred:name> "Star Trek" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Makeup and Hairstyling" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ghostbusters