Question: Which part of a Californian county, bordering Douglas County (the one whose FIPS 6-4 (US counties) is 32005) is the largest ?
Choices:
Alameda County
Placer County
Mono County
Contra Costa County
Butte County
San Diego County
El Dorado County
San Mateo County
Tulare County
Solano County
Program:
function: Find
inputs: Douglas County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
32005
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of California
function: SelectAmong
dependencies: 3
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Douglas County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "32005" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mono County