Question: Which California county has an FIPS 6-4 (US counties) of 06007 and shares a border with Plumas County?
Choices:
San Mateo County
Solano County
Contra Costa County
Mariposa County
San Luis Obispo County
Alameda County
San Diego County
Shasta County
Butte County
Tuolumne County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
06007
function: FilterConcept
dependencies: 1
inputs: county of California
function: Find
inputs: Plumas County
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: county of California
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "06007" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Plumas County" .  }
Answer: Butte County