Question: What number of video game console models had unit sales other than 150000000 or are the platform for Kung Fu Panda 2 from THQ?
Choices: 0
1
2
3
4
5
6
7
8
9
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 != "150000000"^^xsd:double ) .  } UNION { ?e_1 <platform> ?e . ?e_1 <pred:name> "Kung Fu Panda 2" . ?e_1 <publisher> ?e_2 . ?e_2 <pred:name> "THQ" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: units sold
150000000
!=
function: FilterConcept
dependencies: 1
inputs: video game console model
function: Find
inputs: THQ
function: Relate
dependencies: 3
inputs: publisher
backward
function: Find
inputs: Kung Fu Panda 2
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: platform
forward
function: FilterConcept
dependencies: 7
inputs: video game console model
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 5