Question: What model of video game console under 600 USD had the largest number of sold units among the rest ?
Choices:
Oasis
PlayStation 3
Xbox 360
Nintendo Entertainment System
Constantinople
University of Cincinnati
wind farm
safety
Wii
PlayStation 2
Answer: PlayStation 2
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" . ?e <price> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "600"^^xsd:double ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: price
600 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: video game console model
function: SelectAmong
dependencies: 2
inputs: units sold
largest