Question: Which has less area, Toledo whose electorate is 103658 or Zagreb?
Choices:
Dundee
Abidjan
Chihuahua
Bergen
Zagreb
Cork
Trieste
Toledo
Kingston
Kilkenny
Answer: Toledo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toledo" . ?e <electorate> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "103658"^^xsd:double . } UNION { ?e <pred:name> "Zagreb" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Toledo
function: FilterNum
dependencies: 0
inputs: electorate
103658
=
function: Find
inputs: Zagreb
function: SelectBetween
dependencies: 1
2
inputs: area
less