Question: Which county has the greater land area, Dorset (the one whose native label is Dorset) or East Sussex?
Choices:
Derbyshire
West Midlands
Cumbria
Norfolk
East Sussex
Staffordshire
Northumberland
Dorset
Warwickshire
Essex
Program:
function: Find
inputs: Dorset
function: FilterStr
dependencies: 0
inputs: native label
Dorset
function: Find
inputs: East Sussex
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dorset" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Dorset" . } UNION { ?e <pred:name> "East Sussex" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dorset