Question: Between The Other Boleyn Girl or Fargo, with Frances McDormand as a cast member, which did better at the box office?
Choices:
The Hunchback of Notre Dame
Fargo
The Other Boleyn Girl
The Fifth Element
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: The Other Boleyn Girl
function: Find
inputs: Frances McDormand
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Fargo
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Other Boleyn Girl" .  } UNION { ?e <pred:name> "Fargo" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Frances McDormand" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Other Boleyn Girl