Question: Does Lycoming County or NorthamNorthampton County (with a capital of Easton) has a smaller area?
Choices:
Fayette County
Lehigh County
Lycoming County
Northampton County
Franklin County
York County
Allegheny County
Westmoreland County
Bucks County
Cumberland County
Program:
function: Find
inputs: Lycoming County
function: Find
inputs: Easton
function: Relate
dependencies: 1
inputs: capital of
forward
function: Find
inputs: Northampton County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lycoming County" .  } UNION { ?e <pred:name> "Northampton County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Easton" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Northampton County