Question: Does Johnson County (established 1854-01-01) or Galveston County occupy the smaller space?
Choices:
Dallas County
McLennan County
Montgomery County
Brazoria County
Hidalgo County
El Paso County
Travis County
Jefferson County
Galveston County
Johnson County
Program:
function: Find
inputs: Johnson County
function: FilterDate
dependencies: 0
inputs: inception
1854-01-01
=
function: Find
inputs: Galveston County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnson County" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1854-01-01"^^xsd:date . } UNION { ?e <pred:name> "Galveston County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Johnson County