Question: For the U.S. state that includes Washington County (population is 131887), how many Wisconsin counties are its county?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Wisconsin" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Washington County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "131887"^^xsd:double .   }
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
131887
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Wisconsin
function: Count
dependencies: 5