Question: Which area is smaller, Sheffield (the one whose population is 569700) or Rotherham (the one whose GSS code (2011) is E08000018)?
Choices:
Rochdale
Sheffield
Newcastle upon Tyne
Birmingham
Solihull
Leeds
Bury
Stockport
Wakefield
Rotherham
Program:
function: Find
inputs: Sheffield
function: FilterNum
dependencies: 0
inputs: population
569700
=
function: Find
inputs: Rotherham
function: FilterStr
dependencies: 2
inputs: GSS code (2011)
E08000018
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sheffield" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "569700"^^xsd:double . } UNION { ?e <pred:name> "Rotherham" . ?e <GSS_code_(2011)> ?pv_2 . ?pv_2 <pred:value> "E08000018" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rotherham