Question: Which has more area, Jefferson County that borders Boulder County or Lancaster County whose population is 306468?
Choices:
Kent County
Greene County
Orange County
Lee County
San Juan County
Delaware County
Jefferson County
Cass County
African Union
Lancaster County
Program:
function: Find
inputs: Boulder County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Jefferson County
function: And
dependencies: 1
2
function: Find
inputs: Lancaster County
function: FilterNum
dependencies: 4
inputs: population
306468
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Boulder County" . } UNION { ?e <pred:name> "Lancaster County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "306468"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lancaster County