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