Question: What has a larger population, Groningen which has a NUTS code of NL11, or Freisland?
Choices: Drenthe
Gelderland
Zeeland
Groningen
South Holland
North Brabant
Limburg
North Holland
Friesland
Overijssel
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Groningen" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "NL11" . } UNION { ?e <pred:name> "Friesland" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Groningen
function: FilterStr
dependencies: 0
inputs: NUTS code
NL11
function: Find
inputs: Friesland
function: SelectBetween
dependencies: 1
2
inputs: population
greater
Answer: Friesland