Question: Which is lengthier, The Stepford Wives (box office of 102000000 USD) or Republic Pictures production of Brazil?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
The Fifth Element
Talk to Her
A Prairie Home Companion
Pleasantville
The Stepford Wives
Curse of the Golden Flower
Brazil
Answer: The Stepford Wives
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Stepford Wives" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "102000000"^^xsd:double . } UNION { ?e <pred:name> "Brazil" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Republic Pictures" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Stepford Wives
function: FilterNum
dependencies: 0
inputs: box office
102000000 United States dollar
=
function: Find
inputs: Republic Pictures
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Brazil
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater