Question: How many video game console models were developed by Sony Interactive Entertainment and whose units sold is not 500000000?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" . ?e <developer> ?e_1 . ?e_1 <pred:name> "Sony Interactive Entertainment" .  ?e <units_sold> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "500000000"^^xsd:double ) .  }
Program:
function: Find
inputs: Sony Interactive Entertainment
function: Relate
dependencies: 0
inputs: developer
backward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: FindAll
function: FilterNum
dependencies: 3
inputs: units sold
500000000
!=
function: FilterConcept
dependencies: 4
inputs: video game console model
function: And
dependencies: 2
5
function: Count
dependencies: 6