Question: Which area is smaller, Victoria (the one whose local dialing code is 02) or Balochistan?
Choices:
England
Punjab
Chiapas
Lublin Voivodeship
Balochistan
Greater Poland Voivodeship
Podlaskie Voivodeship
Victoria
Upper Austria
New South Wales
Program:
function: Find
inputs: Victoria
function: FilterStr
dependencies: 0
inputs: local dialing code
02
function: Find
inputs: Balochistan
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Victoria" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "02" . } UNION { ?e <pred:name> "Balochistan" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Victoria