Question: What number of Illinois counties are located in Illinois (the one whose WOEID is 2347572)?
Choices:
17
18
19
20
21
22
23
24
25
26
Program:
function: Find
inputs: Illinois
function: FilterStr
dependencies: 0
inputs: WOEID
2347572
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: county of Illinois
function: Count
dependencies: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Illinois" . ?e_1 <WOEID> ?pv . ?pv <pred:value> "2347572" .   }
Answer: 18