Question: Does Delaware County (whose land area is 494 square kilometers) or Montgomery County (established in 1784-09-10) have the larger land area?
Choices:
Fayette County
Lehigh County
Cumberland County
Allegheny County
Delaware County
Westmoreland County
York County
Warren County
Franklin County
Montgomery County
Answer: Montgomery County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "494"^^xsd:double . } UNION { ?e <pred:name> "Montgomery County" . ?e <inception> ?pv_2 . ?pv_2 <pred:date> "1784-09-10"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Delaware County
function: FilterNum
dependencies: 0
inputs: area
494 square kilometre
=
function: Find
inputs: Montgomery County
function: FilterDate
dependencies: 2
inputs: inception
1784-09-10
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater