Question: Which area is smaller, Stirling (the one whose GSS code (2011) is S12000030) or Falkirk (the one whose area is 297.4 square kilometre)?
Choices: Cass County
Delaware County
Kent County
Greene County
Washoe County
African Union
Orange County
Falkirk
San Juan County
Stirling
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stirling" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "S12000030" . } UNION { ?e <pred:name> "Falkirk" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "297.4"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stirling
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
S12000030
function: Find
inputs: Falkirk
function: FilterNum
dependencies: 2
inputs: area
297.4 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Falkirk