Question: Which occupies a smaller area, the Victoria with an area of 20100000 square metres or the Surrey with Statistics Canada Geographic code 5915004?
Choices:
Chihuahua
Bergen
Kilkenny
Cork
Victoria
Dundee
Abidjan
Surrey
Kingston
Trieste
Answer: Victoria
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Victoria" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square metre" . ?pv_1 <pred:value> "20100000"^^xsd:double . } UNION { ?e <pred:name> "Surrey" . ?e <Statistics_Canada_Geographic_code> ?pv_2 . ?pv_2 <pred:value> "5915004" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Victoria
function: FilterNum
dependencies: 0
inputs: area
20100000 square metre
=
function: Find
inputs: Surrey
function: FilterStr
dependencies: 2
inputs: Statistics Canada Geographic code
5915004
function: SelectBetween
dependencies: 1
3
inputs: area
less