Question: Tell me the one with the smaller area, Beaver County or Cambria County
Choices:
Cambria County
Fayette County
Lehigh County
Warren County
Cumberland County
Beaver County
Franklin County
Bucks County
Allegheny County
York County
Program:
function: Find
inputs: Cambria County
function: Find
inputs: Beaver County
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cambria County" .  } UNION { ?e <pred:name> "Beaver County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Beaver County