Question: Which is physically larger: Centre County, or Sullivan County in Pennsylvania?
Choices:
Westmoreland County
Lehigh County
Fayette County
Warren County
Centre County
Franklin County
York County
Allegheny County
Bucks County
Sullivan County
Program:
function: Find
inputs: Centre County
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Sullivan County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Centre County" .  } UNION { ?e <pred:name> "Sullivan County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Pennsylvania" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Centre County