Question: Which has fewer people, Columbia which was established on 1967-06-21 or Kirkcaldy?
Choices:
Wigan
Macclesfield
Blackburn
Colchester
Columbia
Royal Tunbridge Wells
Doncaster
South Shields
Kirkcaldy
Wimbledon
Program:
function: Find
inputs: Columbia
function: FilterDate
dependencies: 0
inputs: inception
1967-06-21
=
function: Find
inputs: Kirkcaldy
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1967-06-21"^^xsd:date . } UNION { ?e <pred:name> "Kirkcaldy" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kirkcaldy