Question: How many counties in Michigan that were founded after 1820 share a border with Greene County, population 163204?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
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> "Greene County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "163204"^^xsd:double .  ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1820 ) .  }
Program:
function: Find
inputs: Greene County
function: FilterNum
dependencies: 0
inputs: population
163204
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Michigan
function: FindAll
function: FilterYear
dependencies: 4
inputs: inception
1820
>
function: FilterConcept
dependencies: 5
inputs: county of Michigan
function: And
dependencies: 3
6
function: Count
dependencies: 7