Question: How many states in the United States have the FIPS 5-2 numeric code (US states) 47 or is the headquarters of the Bank of America?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 5-2 numeric code (US states)
47
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: Bank of America
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" .  { ?e <FIPS_5-2_numeric_code_(US_states)> ?pv . ?pv <pred:value> "47" .  } UNION { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Bank of America" .  } }
Answer: 2