Question: Which has fewer people, Derby (the one whose official website is http://www.derby.gov.uk/) or Thrissur?
Choices:
Cork
Dundee
Kilkenny
Chihuahua
Trieste
Bergen
Santo Domingo
Derby
Thrissur
Kingston
Program:
function: Find
inputs: Derby
function: FilterStr
dependencies: 0
inputs: official website
http://www.derby.gov.uk/
function: Find
inputs: Thrissur
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Derby" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.derby.gov.uk/" . } UNION { ?e <pred:name> "Thrissur" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Derby