Question: Does Montgomery County (whose FIPS 6-4 for US counties is 42091) or Butler County (whose area is 2058 square kilometers) have the larger land area?
Choices:
Bucks County
Fayette County
Warren County
Butler County
Franklin County
Cumberland County
Lehigh County
Allegheny County
Westmoreland County
York County
Program:
function: Find
inputs: Montgomery County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
42091
function: Find
inputs: Butler County
function: FilterNum
dependencies: 2
inputs: area
2058 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "42091" . } UNION { ?e <pred:name> "Butler County" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "2058"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Butler County