Question: Which has smaller area, Thuringia established on 1945-07-09 or Queensland?
Choices:
Podlaskie Voivodeship
Upper Austria
Thuringia
Greater Poland Voivodeship
Queensland
Minas Gerais
England
Punjab
Lublin Voivodeship
Chiapas
Program:
function: Find
inputs: Thuringia
function: FilterDate
dependencies: 0
inputs: inception
1945-07-09
=
function: Find
inputs: Queensland
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thuringia" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1945-07-09"^^xsd:date . } UNION { ?e <pred:name> "Queensland" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Thuringia