Question: Which area is smaller, Guildford (the one whose population is 146100) or Great Yarmouth (the one whose official website is http://www.great-yarmouth.gov.uk/)?
Choices:
Guildford
Chichester
Carlisle
King's Lynn and West Norfolk
South Somerset
Woking
Great Yarmouth
Kettering
West Dorset
Craven
Program:
function: Find
inputs: Guildford
function: FilterNum
dependencies: 0
inputs: population
146100
=
function: Find
inputs: Great Yarmouth
function: FilterStr
dependencies: 2
inputs: official website
http://www.great-yarmouth.gov.uk/
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guildford" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "146100"^^xsd:double . } UNION { ?e <pred:name> "Great Yarmouth" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.great-yarmouth.gov.uk/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Great Yarmouth