Question: Which Ohio county contains Lima (the one whose population is 38771)?
Choices: Erie County
Cuyahoga County
Allen County
Delaware County
Mahoning County
Trumbull County
Stark County
Tuscarawas County
Clark County
Wood County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ohio" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Lima" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "38771"^^xsd:double .   }
Program:
function: Find
inputs: Lima
function: FilterNum
dependencies: 0
inputs: population
38771
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Ohio
function: What
dependencies: 3
Answer: Allen County