Question: Which area is smaller, French Polynesia or Hampshire County (the one whose population is 23445)?
Choices:
African Union
Cass County
Orange County
Kent County
Washoe County
Hampshire County
Delaware County
Greene County
French Polynesia
Lee County
Program:
function: Find
inputs: French Polynesia
function: Find
inputs: Hampshire County
function: FilterNum
dependencies: 1
inputs: population
23445
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "French Polynesia" . } UNION { ?e <pred:name> "Hampshire County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "23445"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hampshire County