Question: Does Douglas County, at 519 square kilometres, or the European Union occupy the larger area?
Choices:
Kent County
San Juan County
Cass County
Orange County
Douglas County
African Union
Lee County
European Union
Washoe County
Greene County
Program:
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 0
inputs: area
519 square kilometre
=
function: Find
inputs: European Union
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Douglas County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "519"^^xsd:double . } UNION { ?e <pred:name> "European Union" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: European Union