Question: How many Michigan counties are located in or next to the glacial lake whose lowest point is Minnesota (whose population is 2792300)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Michigan" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "glacial lake" . ?e_2 <lowest_point> ?e_1 . ?e_2 <pred:name> "Minnesota" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2792300"^^xsd:double .   }
Program:
function: Find
inputs: Minnesota
function: FilterNum
dependencies: 0
inputs: population
2792300
=
function: Relate
dependencies: 1
inputs: lowest point
forward
function: FilterConcept
dependencies: 2
inputs: glacial lake
function: Relate
dependencies: 3
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 4
inputs: county of Michigan
function: Count
dependencies: 5