Question: Does Rotherham (official website www.rotherham.gov.uk) or Walsall (official website www.walsall.gov.uk) occupy a smaller area?
Choices:
Solihull
Rotherham
Stockport
Birmingham
Bury
Rochdale
Walsall
Sheffield
Wakefield
Newcastle upon Tyne
Program:
function: Find
inputs: Rotherham
function: FilterStr
dependencies: 0
inputs: official website
http://www.rotherham.gov.uk/
function: Find
inputs: Walsall
function: FilterStr
dependencies: 2
inputs: official website
http://www.walsall.gov.uk/
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rotherham" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.rotherham.gov.uk/" . } UNION { ?e <pred:name> "Walsall" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.walsall.gov.uk/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Walsall