Question: Does San Marino (established 301) or Salford have a smaller population?
Choices:
Chihuahua
Cork
Trieste
Kingston
Dundee
Abidjan
Santo Domingo
San Marino
Bergen
Kilkenny
Answer: San Marino
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Marino" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 301 . } UNION { ?e <pred:name> "Salford" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Marino
function: FilterYear
dependencies: 0
inputs: inception
301
=
function: Find
inputs: Salford
function: SelectBetween
dependencies: 1
2
inputs: population
less