Question: Does Carlisle (that is the birthplace of Mike Figgis) or Thunder Bay (whose Statistics Canada Geographic code is 3558004) have the lower population?
Choices: Bergen
Chihuahua
Kingston
Thunder Bay
Kilkenny
Dundee
Santo Domingo
Abidjan
Trieste
Carlisle
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carlisle" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Mike Figgis" . } UNION { ?e <pred:name> "Thunder Bay" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "3558004" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mike Figgis
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Carlisle
function: And
dependencies: 1
2
function: Find
inputs: Thunder Bay
function: FilterStr
dependencies: 4
inputs: Statistics Canada Geographic code
3558004
function: SelectBetween
dependencies: 3
5
inputs: population
less
Answer: Carlisle