Question: Does A Star Is Born (that was nominated for an Academy Award for Best Original Song) or Terminator 2: Judgment Day (whose subtitle is Цээрлэлийн өдөр) have the shorter running time?
Choices:
Curse of the Golden Flower
The Towering Inferno
Pleasantville
A Star Is Born
The Fifth Element
Training Day
The Hunchback of Notre Dame
Talk to Her
Terminator 2: Judgment Day
A Prairie Home Companion
Program:
function: Find
inputs: Academy Award for Best Original Song
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 1
2
function: Find
inputs: Terminator 2: Judgment Day
function: FilterStr
dependencies: 4
inputs: subtitle
Цээрлэлийн өдөр
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Star Is Born" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Song" . } UNION { ?e <pred:name> "Terminator 2: Judgment Day" . ?e <subtitle> ?pv_1 . ?pv_1 <pred:value> "Цээрлэлийн өдөр" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Terminator 2: Judgment Day