Question: Does the Fantastic Four (the one that was nominated for MTV Movie Award for Best On-Screen Duo) or Alien (the one whose regional debut venue is Toronto International Film Festival) have the greater duration?
Choices:
Rebecca
Training Day
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Alien
Talk to Her
Pleasantville
Fantastic Four
Curse of the Golden Flower
Answer: Alien
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fantastic Four" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best On-Screen Duo" .   } UNION { ?e <pred:name> "Alien" . ?e <film_regional_debut_venue> ?e_2 . ?e_2 <pred:name> "Toronto International Film Festival" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: MTV Movie Award for Best On-Screen Duo
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 1
2
function: Find
inputs: Toronto International Film Festival
function: Relate
dependencies: 4
inputs: film regional debut venue
backward
function: Find
inputs: Alien
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater