Question: Which movie cost more to make, Brokeback Mountain or American Graffiti?
Choices:
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Brokeback Mountain
The Fifth Element
American Graffiti
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Pleasantville
Program:
function: Find
inputs: Brokeback Mountain
function: Find
inputs: American Graffiti
function: SelectBetween
dependencies: 0
1
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brokeback Mountain" .  } UNION { ?e <pred:name> "American Graffiti" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brokeback Mountain