Question: Which one of the video game console model, which is the platform of Battleship (released for Xbox 360) has the largest number of sold units ?
Choices:
PlayStation 2
Alice in Wonderland
Hot Springs
Xbox 360
Philip Glass
Taito Corporation
Tim Van Patten
Wii
PlayStation 3
Nintendo Entertainment System
Answer: Wii
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" . ?e_1 <platform> ?e . ?e_1 <pred:name> "Battleship" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "Xbox 360" .  ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Xbox 360
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Battleship
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: platform
forward
function: FilterConcept
dependencies: 4
inputs: video game console model
function: SelectAmong
dependencies: 5
inputs: units sold
largest