Question: What is the number of economic branch that has the IAB code 669 or that is the product or material that JP Morgan Chase made.
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> "economic branch" .  { ?e <IAB_code> ?pv . ?pv <pred:value> "669" .  } UNION { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> "JPMorgan Chase" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
669
function: FilterConcept
dependencies: 1
inputs: economic branch
function: Find
inputs: JPMorgan Chase
function: Relate
dependencies: 3
inputs: product or material produced
forward
function: FilterConcept
dependencies: 4
inputs: economic branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6