Question: Which area is larger, Mobile County or Dallas County (the one whose population is 43820)?
Choices:
Washington County
Jefferson County
Madison County
Baldwin County
Mobile County
Montgomery County
Jackson County
Dallas County
Shelby County
Monroe County
Answer: Mobile County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mobile County" . } UNION { ?e <pred:name> "Dallas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "43820"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mobile County
function: Find
inputs: Dallas County
function: FilterNum
dependencies: 1
inputs: population
43820
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater