Question: Of video game console models with under 300000000 units sold, which sold the most?
Choices:
Hans Dreier
Al Franken
PlayStation 2
Nintendo Entertainment System
Superman
PlayStation 3
Xbox 360
Assam
Wii
Augustine of Hippo
Answer: PlayStation 2
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" . ?e <units_sold> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "300000000"^^xsd:double ) . ?e <units_sold> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: units sold
300000000
<
function: FilterConcept
dependencies: 1
inputs: video game console model
function: SelectAmong
dependencies: 2
inputs: units sold
largest