Question: Which made less at the box office, Battleship starring Liam Neeson or Roman Holiday starring Gregory Peck?
Choices:
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
Battleship
Training Day
The Fifth Element
Roman Holiday
Rebecca
A Prairie Home Companion
Pleasantville
Answer: Roman Holiday
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Battleship" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Liam Neeson" .   } UNION { ?e <pred:name> "Roman Holiday" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Gregory Peck" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Liam Neeson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Battleship
function: And
dependencies: 1
2
function: Find
inputs: Gregory Peck
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Roman Holiday
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less