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