Question: Does Lancaster County (the one whose population is 536624) or Butler County (the one that shares border with Armstrong County) have less area?
Choices: Allegheny County
Warren County
Lancaster County
Fayette County
Lehigh County
Franklin County
Westmoreland County
Butler County
Cumberland County
Bucks County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lancaster County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "536624"^^xsd:double . } UNION { ?e <pred:name> "Butler County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Armstrong County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lancaster County
function: FilterNum
dependencies: 0
inputs: population
536624
=
function: Find
inputs: Armstrong County
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Butler County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
Answer: Butler County