Question: Did Jack and Jill or Yes Man have higher box office earnings?
Choices:
Yes Man
The Towering Inferno
Rebecca
Curse of the Golden Flower
Training Day
Talk to Her
The Fifth Element
A Prairie Home Companion
Jack and Jill
The Hunchback of Notre Dame
Program:
function: Find
inputs: Jack and Jill
function: Find
inputs: Yes Man
function: SelectBetween
dependencies: 0
1
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jack and Jill" .  } UNION { ?e <pred:name> "Yes Man" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Yes Man