Question: Which area is smaller, Bremerton or Albany (the one whose area is 144.589215 square kilometre)?
Choices:
Albany
Franklin
Boulder
Waukegan
Lansing
Columbus
New Haven
Bremerton
Compton
Greenville
Program:
function: Find
inputs: Bremerton
function: Find
inputs: Albany
function: FilterNum
dependencies: 1
inputs: area
144.589215 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bremerton" . } UNION { ?e <pred:name> "Albany" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "144.589215"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bremerton