Question: Which has the largest area among the Indiana counties that share a border with Marion County (which began in 1822)?
Choices:
Franklin County
Madison County
Delaware County
Johnson County
Monroe County
Shelby County
Wayne County
Allen County
Hancock County
Lake County
Program:
function: Find
inputs: Marion County
function: FilterYear
dependencies: 0
inputs: inception
1822
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Indiana
function: SelectAmong
dependencies: 3
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Indiana" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Marion County" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:year> 1822 . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Shelby County