Question: What console has sold more units, the Xbox 360 or PlayStation 3?
Choices:
PlayStation 3
Wii
Ted Kennedy
Frederick
Anupam Kher
Nintendo Entertainment System
Harlow
hairdresser
PlayStation 2
Xbox 360
Program:
function: Find
inputs: Xbox 360
function: Find
inputs: PlayStation 3
function: SelectBetween
dependencies: 0
1
inputs: units sold
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Xbox 360" .  } UNION { ?e <pred:name> "PlayStation 3" .  } ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: PlayStation 3