Question: Which is biggest area-wise: Wood County, population 86569, or Washington County, occupying 571 square miles?
Choices:
African Union
Orange County
Lee County
Cass County
San Juan County
Washington County
Kent County
Greene County
Wood County
Washoe County
Answer: Washington County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wood County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "86569"^^xsd:double . } UNION { ?e <pred:name> "Washington County" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square mile" . ?pv_2 <pred:value> "571"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wood County
function: FilterNum
dependencies: 0
inputs: population
86569
=
function: Find
inputs: Washington County
function: FilterNum
dependencies: 2
inputs: area
571 square mile
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater