Question: which one has less area,West Midlands or Suffolk?
Choices:
Suffolk
Derbyshire
Norfolk
Northumberland
Somerset
Staffordshire
West Midlands
Essex
Cumbria
East Riding of Yorkshire
Answer: West Midlands
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Midlands" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E11000005" . } UNION { ?e <pred:name> "Suffolk" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> "UKN5" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: West Midlands
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E11000005
function: Find
inputs: Suffolk
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
UKN5
function: SelectBetween
dependencies: 1
3
inputs: area
less