Question: Which one, Wayne County (the one whose area is 751 square mile) or Washington County (the one whose population is 208206), has greater area?
Choices:
Westmoreland County
Fayette County
Warren County
Washington County
Allegheny County
Lehigh County
Bucks County
York County
Franklin County
Wayne County
Program:
function: Find
inputs: Wayne County
function: FilterNum
dependencies: 0
inputs: area
751 square mile
=
function: Find
inputs: Washington County
function: FilterNum
dependencies: 2
inputs: population
208206
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wayne County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square mile" . ?pv_1 <pred:value> "751"^^xsd:double . } UNION { ?e <pred:name> "Washington County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "208206"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Washington County