Question: Among the Ohio counties that share a border with Franklin County (whose FIPS 6-4 (US counties) is 39049), which has the smallest area?
Choices:
Stark County
Wayne County
Cuyahoga County
Tuscarawas County
Mahoning County
Erie County
Delaware County
Madison County
Union County
Licking County
Answer: Union County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ohio" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Franklin County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "39049" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Franklin County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
39049
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Ohio
function: SelectAmong
dependencies: 3
inputs: area
smallest