Question: Does Pomeranian Voivodeship or Veracruz whose FIPS 10-4 (countries and regions) is MX30 have more area?
Choices:
Pomeranian Voivodeship
Chiapas
Veracruz
Minas Gerais
Greater Poland Voivodeship
Punjab
New South Wales
Upper Austria
Lublin Voivodeship
England
Program:
function: Find
inputs: Pomeranian Voivodeship
function: Find
inputs: Veracruz
function: FilterStr
dependencies: 1
inputs: FIPS 10-4 (countries and regions)
MX30
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pomeranian Voivodeship" . } UNION { ?e <pred:name> "Veracruz" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "MX30" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Veracruz