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