Question: Does Johnson County in Indiana or Porter County occupy a smaller area?
Choices:
Monroe County
Delaware County
Marion County
Johnson County
Franklin County
Madison County
Allen County
Hancock County
Porter County
Wayne County
Program:
function: Find
inputs: Indiana
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Johnson County
function: And
dependencies: 1
2
function: Find
inputs: Porter County
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnson County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Indiana" .   } UNION { ?e <pred:name> "Porter County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Johnson County