Question: Which is smaller in terms of area: Winnipeg, or the Syracuse that occupies 207.78 square kilometers?
Choices:
Santo Domingo
Trieste
Cork
Kingston
Dundee
Bergen
Syracuse
Winnipeg
Kilkenny
Abidjan
Answer: Syracuse
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Winnipeg" . } UNION { ?e <pred:name> "Syracuse" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "207.78"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Winnipeg
function: Find
inputs: Syracuse
function: FilterNum
dependencies: 1
inputs: area
207.78 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less