Question: Which has a greater area, Yangon or Portsmouth (whose FIPS 10-4 (countries and regions) is UKK6)?
Choices:
Bergen
Santo Domingo
Abidjan
Cork
Yangon
Chihuahua
Dundee
Kingston
Trieste
Portsmouth
Answer: Yangon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yangon" . } UNION { ?e <pred:name> "Portsmouth" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "UKK6" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Yangon
function: Find
inputs: Portsmouth
function: FilterStr
dependencies: 1
inputs: FIPS 10-4 (countries and regions)
UKK6
function: SelectBetween
dependencies: 0
2
inputs: area
greater