Question: Is the larger area occupied by Rochdale (GSS code (2011) E08000005) or Bradford (official website www.bradford.gov.uk)?
Choices:
Wakefield
Leeds
Bury
Stockport
Sheffield
Bradford
Solihull
Rochdale
Newcastle upon Tyne
Walsall
Program:
function: Find
inputs: Rochdale
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E08000005
function: Find
inputs: Bradford
function: FilterStr
dependencies: 2
inputs: official website
http://www.bradford.gov.uk/
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rochdale" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E08000005" . } UNION { ?e <pred:name> "Bradford" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.bradford.gov.uk/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bradford