Question: Did more people attend Iron Man 2, with box office earnings of 312433331 USD, or Iron Man, a Saturn Award nominee for Best Writing?
Choices:
The Hunchback of Notre Dame
Iron Man 2
A Prairie Home Companion
Iron Man
Pleasantville
Rebecca
Curse of the Golden Flower
Talk to Her
Training Day
The Fifth Element
Program:
function: Find
inputs: Iron Man 2
function: FilterNum
dependencies: 0
inputs: box office
312433331 United States dollar
=
function: Find
inputs: Saturn Award for Best Writing
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Iron Man
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: attendance
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man 2" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "312433331"^^xsd:double . } UNION { ?e <pred:name> "Iron Man" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Saturn Award for Best Writing" . } ?e <attendance> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Iron Man