Question: What number of companies have microsoft as an Instagram username or SEGA Games Co., Ltd. as its official name?
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> "business" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "microsoft" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "SEGA Games Co., Ltd." .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
microsoft
function: FilterConcept
dependencies: 1
inputs: business
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
SEGA Games Co., Ltd.
function: FilterConcept
dependencies: 4
inputs: business
function: Or
dependencies: 2
5
function: Count
dependencies: 6