Question: Is the smaller area occupied by the Washington County that borders New London County or by the Davidson County with a population of 626,681?
Choices:
Greene County
Cass County
Delaware County
Kent County
Washoe County
Orange County
Washington County
Davidson County
Lee County
African Union
Answer: Davidson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "New London County" . } UNION { ?e <pred:name> "Davidson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "626681"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New London County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Washington County
function: And
dependencies: 1
2
function: Find
inputs: Davidson County
function: FilterNum
dependencies: 4
inputs: population
626681
=
function: SelectBetween
dependencies: 3
5
inputs: area
less