Question: What is the FIPS 6-4 (US counties) for the administrative-territorial entity that has as capital Fargo in the USA?
Choices:
51790
01099
02110
55055
38017
48245
31109
53077
18127
12071
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Fargo
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: QueryAttr
dependencies: 5
inputs: FIPS 6-4 (US counties)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Fargo" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <FIPS_6-4_(US_counties)> ?pv .  }
Answer: 38017