Question: Which area is larger, Lorraine (the one whose FIPS 10-4 (countries and regions) is FRB2) or Upper Normandy?
Choices:
Champagne-Ardenne
Aquitaine
Lorraine
Upper Normandy
Alsace
Lower Normandy
Languedoc-Roussillon
Nord-Pas-de-Calais
Burgundy
Picardy
Answer: Lorraine
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lorraine" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "FRB2" . } UNION { ?e <pred:name> "Upper Normandy" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lorraine
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
FRB2
function: Find
inputs: Upper Normandy
function: SelectBetween
dependencies: 1
2
inputs: area
greater