Question: Does Lancaster County (population is 306468) or Argyll and Bute have larger area?
Choices:
Delaware County
Argyll and Bute
Washoe County
Greene County
San Juan County
Orange County
African Union
Cass County
Lancaster County
Kent County
Program:
function: Find
inputs: Lancaster County
function: FilterNum
dependencies: 0
inputs: population
306468
=
function: Find
inputs: Argyll and Bute
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lancaster County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "306468"^^xsd:double . } UNION { ?e <pred:name> "Argyll and Bute" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Argyll and Bute