Question: Which county occupies a larger area, Butler County, which has 2058 square kilometers, or Lackawanna County?
Choices:
Westmoreland County
Butler County
York County
Bucks County
Franklin County
Cumberland County
Lackawanna County
Lehigh County
Warren County
Fayette County
Answer: Butler County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lackawanna County" . } UNION { ?e <pred:name> "Butler County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2058"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lackawanna County
function: Find
inputs: Butler County
function: FilterNum
dependencies: 1
inputs: area
2058 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater