Question: Which one, Oldham (the one whose TOID is 7000000000018690) or Walsall (the one whose official website is http://www.walsall.gov.uk/), has less area?
Choices:
Solihull
Birmingham
Wakefield
Leeds
Oldham
Bury
Walsall
Stockport
Sheffield
Rochdale
Program:
function: Find
inputs: Oldham
function: FilterStr
dependencies: 0
inputs: TOID
7000000000018690
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> "Oldham" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000018690" . } 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