Question: Is the smaller area occupied by Johnson County (population 139654) or Marion County, which contains Indianapolis?
Choices:
Lake County
Franklin County
Marion County
Delaware County
Monroe County
Hancock County
Madison County
Johnson County
Howard County
Allen County
Program:
function: Find
inputs: Johnson County
function: FilterNum
dependencies: 0
inputs: population
139654
=
function: Find
inputs: Indianapolis
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
backward
function: Find
inputs: Marion County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "139654"^^xsd:double . } UNION { ?e <pred:name> "Marion County" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Indianapolis" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Johnson County