Question: Which area is larger, Hancock County (the one whose FIPS 6-4 (US counties) is 54029) or Cobb County?
Choices:
Hancock County
San Juan County
Greene County
Lee County
Delaware County
African Union
Kent County
Washoe County
Cobb County
Orange County
Program:
function: Find
inputs: Hancock County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
54029
function: Find
inputs: Cobb County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hancock County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "54029" . } UNION { ?e <pred:name> "Cobb County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cobb County