Question: Which has a smaller area, Johnson County (the one whose population is 133477) or Orange County (the one that shares border with Windsor County)?
Choices:
Johnson County
Greene County
African Union
San Juan County
Delaware County
Orange County
Washoe County
Cass County
United States Virgin Islands
Kent County
Answer: Johnson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "133477"^^xsd:double . } UNION { ?e <pred:name> "Orange County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Windsor County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Johnson County
function: FilterNum
dependencies: 0
inputs: population
133477
=
function: Find
inputs: Windsor County
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Orange County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less