Question: Is the population higher in the place officially called Split or in St. John's?
Choices:
Fort Smith
Bordeaux
Aachen
Wuppertal
Stuttgart
Dnipro
Lyon
Split
Halle (Saale)
Utrecht
Program:
function: Find
inputs: Split
function: FilterStr
dependencies: 0
inputs: official name
Split
function: Find
inputs: St. John's
function: SelectBetween
dependencies: 1
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Split" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Split" . } UNION { ?e <pred:name> "St. John's" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Split