Question: Which area is larger, Norristown or Washington County (the one whose area is 423 square mile)?
Choices:
Kent County
Norristown
Delaware County
Lee County
Washington County
African Union
San Juan County
Washoe County
Cass County
Orange County
Program:
function: Find
inputs: Norristown
function: Find
inputs: Washington County
function: FilterNum
dependencies: 1
inputs: area
423 square mile
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norristown" . } UNION { ?e <pred:name> "Washington County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square mile" . ?pv_1 <pred:value> "423"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Washington County