Question: Which has less population, Aberdeen (whose official website is http://www.aberdeencity.gov.uk/) or Thunder Bay (whose inception time is 1683)?
Choices: Chihuahua
Santo Domingo
Kilkenny
Aberdeen
Cork
Kingston
Bergen
Thunder Bay
Trieste
Abidjan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aberdeen" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.aberdeencity.gov.uk/" . } UNION { ?e <pred:name> "Thunder Bay" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1683 . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Aberdeen
function: FilterStr
dependencies: 0
inputs: official website
http://www.aberdeencity.gov.uk/
function: Find
inputs: Thunder Bay
function: FilterYear
dependencies: 2
inputs: inception
1683
=
function: SelectBetween
dependencies: 1
3
inputs: population
less
Answer: Thunder Bay