Question: Does Georgetown or the Kingston with the twinned administrative body of Kalamazoo have a higher population count?
Choices:
Kingston
Georgetown
Chihuahua
Cairo
Cork
Dundee
Trieste
Kilkenny
Bergen
Santo Domingo
Program:
function: Find
inputs: Georgetown
function: Find
inputs: Kalamazoo
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Kingston
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Georgetown" .  } UNION { ?e <pred:name> "Kingston" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Kalamazoo" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kingston