Question: Which has less area, Falkirk whose area is 297.4 square kilometres or Bristol County whose population is 48959?
Choices:
Bristol County
Kent County
Delaware County
Cass County
Greene County
Orange County
African Union
Lee County
San Juan County
Falkirk
Answer: Bristol County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Falkirk" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "297.4"^^xsd:double . } UNION { ?e <pred:name> "Bristol County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "48959"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Falkirk
function: FilterNum
dependencies: 0
inputs: area
297.4 square kilometre
=
function: Find
inputs: Bristol County
function: FilterNum
dependencies: 2
inputs: population
48959
=
function: SelectBetween
dependencies: 1
3
inputs: area
less