Question: Does Limburg (whose country is the Netherlands) or North Holland have the lower population?
Choices:
South Holland
North Holland
Groningen
Overijssel
Limburg
Friesland
Drenthe
North Brabant
Zeeland
Utrecht
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Find
inputs: North Holland
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limburg" . ?e <country> ?e_1 . ?e_1 <pred:name> "Netherlands" .   } UNION { ?e <pred:name> "North Holland" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Limburg