Question: Does Limburg in the Netherlands or Gelderland have the larger population size?
Choices:
Drenthe
Friesland
Zeeland
South Holland
Utrecht
Groningen
North Brabant
Limburg
Gelderland
North Holland
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Find
inputs: Gelderland
function: SelectBetween
dependencies: 3
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limburg" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Netherlands" .   } UNION { ?e <pred:name> "Gelderland" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Gelderland