Question: Which movie made less at the bx office, Terminator 3: Rise of the Machines (the one whose duration is 105 minute) or Romeo and Juliet (the one that has Paul Giamatti as a cast member)?
Choices:
The Fifth Element
The Towering Inferno
Pleasantville
Romeo and Juliet
Talk to Her
Rebecca
A Prairie Home Companion
Terminator 3: Rise of the Machines
Curse of the Golden Flower
Training Day
Answer: Romeo and Juliet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terminator 3: Rise of the Machines" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "105"^^xsd:double . } UNION { ?e <pred:name> "Romeo and Juliet" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Paul Giamatti" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Terminator 3: Rise of the Machines
function: FilterNum
dependencies: 0
inputs: duration
105 minute
=
function: Find
inputs: Paul Giamatti
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: box office
less