Question: Is the longer work The Merry Widow, titled Die lustige Witwe, or Star Trek, an Academy Award nominee for Best Visual Effects?
Choices: Training Day
The Fifth Element
A Prairie Home Companion
The Merry Widow
Star Trek
Rebecca
Talk to Her
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Merry Widow" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Die lustige Witwe" . } UNION { ?e <pred:name> "Star Trek" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Visual Effects" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Merry Widow
function: FilterStr
dependencies: 0
inputs: title
Die lustige Witwe
function: Find
inputs: Academy Award for Best Visual Effects
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
greater
Answer: Star Trek