Question: Which area is larger, Dorset (the one whose FIPS 10-4 (countries and regions) is UKD6) or South Yorkshire?
Choices:
Derbyshire
Essex
Norfolk
Northumberland
West Midlands
Cumbria
South Yorkshire
Dorset
Warwickshire
Somerset
Answer: Dorset
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dorset" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "UKD6" . } UNION { ?e <pred:name> "South Yorkshire" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dorset
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
UKD6
function: Find
inputs: South Yorkshire
function: SelectBetween
dependencies: 1
2
inputs: area
greater