Question: Between The Mummy, with a 15 percent review score, or the musical film Anastasia, which was the box office winner?
Choices: Pleasantville
Training Day
The Hunchback of Notre Dame
Anastasia
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
The Mummy
The Towering Inferno
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy" . ?e <review_score> ?pv_1 . ?pv_1 <pred:value> "15%" . } UNION { ?e <pred:name> "Anastasia" . ?e <genre> ?e_1 . ?e_1 <pred:name> "musical film" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Mummy
function: FilterStr
dependencies: 0
inputs: review score
15%
function: Find
inputs: musical film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Anastasia
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: box office
greater
Answer: The Mummy