Question: Which has less population, Craven or Barrow-in-Furness, Cumbria?
Choices:
Woking
Barrow-in-Furness
West Dorset
Great Yarmouth
Chichester
North Norfolk
Carlisle
Guildford
Kettering
Craven
Program:
function: Find
inputs: Craven
function: Find
inputs: Cumbria
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Barrow-in-Furness
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craven" .  } UNION { ?e <pred:name> "Barrow-in-Furness" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Cumbria" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Craven