Question: How many economic branches comprise a product or material produced by Bank of America, or have 591 as their  International Standard Industrial Classification code Rev.4?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "economic branch" .  { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> "Bank of America" .  } UNION { ?e <International_Standard_Industrial_Classification_code_Rev.4> ?pv . ?pv <pred:value> "491" .  } }
Program:
function: Find
inputs: Bank of America
function: Relate
dependencies: 0
inputs: product or material produced
forward
function: FilterConcept
dependencies: 1
inputs: economic branch
function: FindAll
function: FilterStr
dependencies: 3
inputs: International Standard Industrial Classification code Rev.4
491
function: FilterConcept
dependencies: 4
inputs: economic branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2