Question: Which area is smaller, North Brabant or Friesland?
Choices:
Groningen
Utrecht
South Holland
Friesland
Limburg
North Holland
Gelderland
North Brabant
Drenthe
Zeeland
Program:
function: Find
inputs: North Brabant
function: Find
inputs: Friesland
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Brabant" .  } UNION { ?e <pred:name> "Friesland" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: North Brabant