Question: Does London Borough of Newham or Douglas County (whose population is 305963) have the larger area?
Choices:
Cass County
Greene County
London Borough of Newham
Orange County
Delaware County
Douglas County
Kent County
San Juan County
Washoe County
Lee County
Answer: Douglas County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "London Borough of Newham" . } UNION { ?e <pred:name> "Douglas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "305963"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: London Borough of Newham
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 1
inputs: population
305963
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater