Question: Which has less population, Stirling (whose TOID is 4000000074551019) or Nelson (whose official website is http://www.nelsoncitycouncil.co.nz/)?
Choices:
Abidjan
Stirling
Kilkenny
Bergen
Dundee
Kingston
Santo Domingo
Cork
Trieste
Chihuahua
Answer: Stirling
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stirling" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074551019" . } UNION { ?e <pred:name> "Nelson" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.nelsoncitycouncil.co.nz/" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stirling
function: FilterStr
dependencies: 0
inputs: TOID
4000000074551019
function: Find
inputs: Nelson
function: FilterStr
dependencies: 2
inputs: official website
http://www.nelsoncitycouncil.co.nz/
function: SelectBetween
dependencies: 1
3
inputs: population
less