Question: Which area is larger, Kent County (the one whose population is 165396) or Cayman Islands?
Choices:
San Juan County
Cass County
Orange County
African Union
Kent County
Greene County
Washoe County
United States Virgin Islands
Delaware County
Cayman Islands
Program:
function: Find
inputs: Kent County
function: FilterNum
dependencies: 0
inputs: population
165396
=
function: Find
inputs: Cayman Islands
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kent County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "165396"^^xsd:double . } UNION { ?e <pred:name> "Cayman Islands" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kent County