Question: Which has a greater area, Beaver County or Armstrong County?
Choices:
Franklin County
Fayette County
Cumberland County
Westmoreland County
Beaver County
Armstrong County
Lehigh County
York County
Warren County
Bucks County
Program:
function: Find
inputs: Beaver County
function: Find
inputs: Armstrong County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beaver County" .  } UNION { ?e <pred:name> "Armstrong County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Armstrong County