Question: Which area is larger, Butler County (the one that is located in Pennsylvania) or Monroe County (the one whose FIPS 6-4 (US counties) is 42089)?
Choices:
Franklin County
Monroe County
Fayette County
Lehigh County
Westmoreland County
York County
Butler County
Bucks County
Warren County
Cumberland County
Answer: Butler County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Butler County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Pennsylvania" . } UNION { ?e <pred:name> "Monroe County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "42089" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Butler County
function: And
dependencies: 1
2
function: Find
inputs: Monroe County
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
42089
function: SelectBetween
dependencies: 3
5
inputs: area
greater