Question: Which area is larger, Madison County (the one whose area is 1173 square kilometre) or Franklin County (the one that is an administrative division of Indiana)?
Choices: Wayne County
Madison County
Howard County
Lake County
Monroe County
Hancock County
Allen County
Franklin County
Marion County
Johnson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madison County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1173"^^xsd:double . } UNION { ?e <pred:name> "Franklin County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Indiana" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Madison County
function: FilterNum
dependencies: 0
inputs: area
1173 square kilometre
=
function: Find
inputs: Indiana
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Franklin County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
Answer: Madison County