Question: Is the population higher in Kabul, which has a Wikidata property video game, or Canterbury?
Choices:
Kilkenny
Kabul
Cork
Bergen
Trieste
Dundee
Santo Domingo
Abidjan
Canterbury
Chihuahua
Answer: Kabul
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kabul" . ?e_1 <Wikidata_property> ?e . ?e_1 <pred:name> "video game" .   } UNION { ?e <pred:name> "Canterbury" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: video game
function: Relate
dependencies: 0
inputs: Wikidata property
forward
function: Find
inputs: Kabul
function: And
dependencies: 1
2
function: Find
inputs: Canterbury
function: SelectBetween
dependencies: 3
4
inputs: population
greater