Question: Which placer is larger in size, Madison County (the one that is an administrative division of North Carolina) or Franklin County (the one whose population is 63710)?
Choices:
Brunswick County
Wake County
Mecklenburg County
Gaston County
Cumberland County
Guilford County
Davidson County
Franklin County
Polk County
Madison County
Answer: Franklin County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madison County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "North Carolina" . } UNION { ?e <pred:name> "Franklin County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "63710"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Madison County
function: And
dependencies: 1
2
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 4
inputs: population
63710
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater