Question: Which has more people, Antwerp whose NIS/INS code is 10000 or London Borough of Enfield?
Choices:
Antwerp
London Borough of Enfield
San Juan County
Washoe County
Cass County
Greene County
Kent County
African Union
Lee County
Orange County
Program:
function: Find
inputs: Antwerp
function: FilterStr
dependencies: 0
inputs: NIS/INS code
10000
function: Find
inputs: London Borough of Enfield
function: SelectBetween
dependencies: 1
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antwerp" . ?e <NIS/INS_code> ?pv_1 . ?pv_1 <pred:value> "10000" . } UNION { ?e <pred:name> "London Borough of Enfield" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Antwerp