Question: Which has more population, Craven or Guildford which was founded on 1974-04-01?
Choices:
North Norfolk
Guildford
South Somerset
Kettering
Great Yarmouth
West Dorset
Chichester
Carlisle
Woking
King's Lynn and West Norfolk
Program:
function: Find
inputs: Craven
function: Find
inputs: Guildford
function: FilterDate
dependencies: 1
inputs: inception
1974-04-01
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craven" . } UNION { ?e <pred:name> "Guildford" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1974-04-01"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Guildford