Question: How many Virginia counties are an administrative division of the state of the United States that contains the administrative division York County (whose FIPS 6-4 (US counties) is 51199)?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "York County" . ?e_2 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "51199" .   }
Program:
function: Find
inputs: York County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
51199
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
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 Virginia
function: Count
dependencies: 5
Answer: 15