Question: Which movie is longer, Hello, Dolly! (the one that received 42nd Academy Awards) or Alfie (the one whose duration is 103 minute)?
Choices:
Alfie
The Hunchback of Notre Dame
Training Day
Rebecca
Pleasantville
Curse of the Golden Flower
Hello, Dolly!
The Fifth Element
The Towering Inferno
Talk to Her
Answer: Hello, Dolly!
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hello, Dolly!" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "42nd Academy Awards" . } UNION { ?e <pred:name> "Alfie" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "103"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 42nd Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Find
inputs: Alfie
function: FilterNum
dependencies: 4
inputs: duration
103 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater