Question: Tell me the one with the bigger area, Santa Cruz County (which has a population of 46768) or Maricopa County
Choices:
Maricopa County
Santa Cruz County
Cochise County
Mohave County
Coconino County
Apache County
Pinal County
Yavapai County
Pima County
Gila County
Program:
function: Find
inputs: Santa Cruz County
function: FilterNum
dependencies: 0
inputs: population
46768
=
function: Find
inputs: Maricopa County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Cruz County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "46768"^^xsd:double . } UNION { ?e <pred:name> "Maricopa County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Maricopa County