Question: Is the smaller area occupied by Washington County, location of the administrative division Montpelier, or Warren County, population 114146?
Choices:
African Union
Kent County
Greene County
San Juan County
Washoe County
Washington County
Lee County
Warren County
Delaware County
Cass County
Answer: Warren County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Montpelier" . } UNION { ?e <pred:name> "Warren County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "114146"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Montpelier
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Washington County
function: And
dependencies: 1
2
function: Find
inputs: Warren County
function: FilterNum
dependencies: 4
inputs: population
114146
=
function: SelectBetween
dependencies: 3
5
inputs: area
less