Question: How many states in the US contain Polk County (the one whose FIPS 6-4 (US counties) is 55095)  ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Polk County" . ?e_2 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "55095" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: Polk County
function: FilterStr
dependencies: 3
inputs: FIPS 6-4 (US counties)
55095
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 5
inputs: state of the United States
function: And
dependencies: 2
6
function: Count
dependencies: 7
Answer: 1