Question: Which has less area, South Bend or Kansas City established on 1868-01-01?
Choices:
New Haven
Kansas City
Compton
Lansing
Oakland
Waukegan
Boulder
Franklin
South Bend
Columbus
Program:
function: Find
inputs: South Bend
function: Find
inputs: Kansas City
function: FilterDate
dependencies: 1
inputs: inception
1868-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Bend" . } UNION { ?e <pred:name> "Kansas City" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1868-01-01"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: South Bend