Question: Does Gibraltar (whose citizens are the gibilterrina people) or Tianjin have the smaller population?
Choices:
Busan
İzmir
Barcelona
Alexandria
Basra
Order of the Thistle
Tianjin
Odessa
Gibraltar
Fremantle
Answer: Gibraltar
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gibraltar" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "gibilterrina" . } UNION { ?e <pred:name> "Tianjin" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Gibraltar
function: FilterStr
dependencies: 0
inputs: demonym
gibilterrina
function: Find
inputs: Tianjin
function: SelectBetween
dependencies: 1
2
inputs: population
less