Question: How many Michigan's counties border Genesee County (the one whose FIPS 6-4 (US counties) is 26049) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Michigan" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Genesee County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "26049" .   }
Program:
function: Find
inputs: Genesee County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
26049
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Michigan
function: Count
dependencies: 3