Question: Which movie is longer, Good or Paddington (the one whose box office is 268047808 United States dollar)?
Choices:
A Prairie Home Companion
The Fifth Element
Pleasantville
Rebecca
Paddington
The Hunchback of Notre Dame
Talk to Her
Training Day
Good
The Towering Inferno
Answer: Good
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Good" . } UNION { ?e <pred:name> "Paddington" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "268047808"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Good
function: Find
inputs: Paddington
function: FilterNum
dependencies: 1
inputs: box office
268047808 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater