Question: Which has a smaller population, Craven or Guildford, which was founded 1974-04-01?
Choices:
Woking
Great Yarmouth
West Dorset
Carlisle
South Somerset
Craven
Chichester
Kettering
North Norfolk
Guildford
Answer: Craven
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 ?v LIMIT 1
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
less