Question: Who did better at the box office, The Social Network or Chasing Amy?
Choices:
The Fifth Element
The Hunchback of Notre Dame
The Social Network
Rebecca
A Prairie Home Companion
Training Day
Pleasantville
The Towering Inferno
Chasing Amy
Talk to Her
Program:
function: Find
inputs: The Social Network
function: Find
inputs: Chasing Amy
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Social Network" .  } UNION { ?e <pred:name> "Chasing Amy" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Social Network