Question: How many public companies have the subsidiary Bandai Namco Entertainment or a market capitalization that is not 360000000000 United States dollars?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public company" .  { ?e <subsidiary> ?e_1 . ?e_1 <pred:name> "Bandai Namco Entertainment" .  } UNION { ?e <market_capitalization> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "360000000000"^^xsd:double ) .  } }
Program:
function: Find
inputs: Bandai Namco Entertainment
function: Relate
dependencies: 0
inputs: subsidiary
backward
function: FilterConcept
dependencies: 1
inputs: public company
function: FindAll
function: FilterNum
dependencies: 3
inputs: market capitalization
360000000000 United States dollar
!=
function: FilterConcept
dependencies: 4
inputs: public company
function: Or
dependencies: 2
5
function: Count
dependencies: 6