Question: How many video game consoles models have sold more than 59000000 being available before 2005?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" . ?e <units_sold> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "59000000"^^xsd:double ) . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2005 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: units sold
59000000
>
function: FilterConcept
dependencies: 1
inputs: video game console model
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2005
<
function: FilterConcept
dependencies: 4
inputs: video game console model
function: And
dependencies: 2
5
function: Count
dependencies: 6