Question: Is the population higher in Limburg, which borders Gelderland, or Friesland?
Choices: North Holland
Groningen
Utrecht
South Holland
Overijssel
Gelderland
Drenthe
Limburg
Zeeland
Friesland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limburg" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Gelderland" .   } UNION { ?e <pred:name> "Friesland" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gelderland
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Find
inputs: Friesland
function: SelectBetween
dependencies: 3
4
inputs: population
greater
Answer: Limburg