Question: Is the smaller area occupied by Oklahoma or by Kentucky, founded on 1792-06-01?
Choices:
Iowa
Colorado
Oklahoma
Illinois
Florida
New Mexico
Massachusetts
Kentucky
California
Hawaii
Answer: Kentucky
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oklahoma" . } UNION { ?e <pred:name> "Kentucky" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1792-06-01"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oklahoma
function: Find
inputs: Kentucky
function: FilterDate
dependencies: 1
inputs: inception
1792-06-01
=
function: SelectBetween
dependencies: 0
2
inputs: area
less