Question: Which area is larger, El Paso County (the one whose area is 2628 square kilometre) or Galveston County?
Choices:
Travis County
Cameron County
El Paso County
Galveston County
Hidalgo County
Johnson County
Dallas County
Jefferson County
Montgomery County
Brazoria County
Program:
function: Find
inputs: El Paso County
function: FilterNum
dependencies: 0
inputs: area
2628 square kilometre
=
function: Find
inputs: Galveston County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Paso County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2628"^^xsd:double . } UNION { ?e <pred:name> "Galveston County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: El Paso County