Question: How many Illinois counties share a border with Clinton County (whose official website is https://www.clintonco.illinois.gov/) or are named after Lake Michigan?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Clinton County
function: FilterStr
dependencies: 0
inputs: official website
https://www.clintonco.illinois.gov/
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Illinois
function: Find
inputs: Lake Michigan
function: Relate
dependencies: 4
inputs: named after
backward
function: FilterConcept
dependencies: 5
inputs: county of Illinois
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" .  { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Clinton County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "https://www.clintonco.illinois.gov/" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Lake Michigan" .  } }
Answer: 3