Question: Which area is smaller, Brandenburg (the one whose dissolution date is 1952-07-25) or Khyber Pakhtunkhwa?
Choices:
England
Greater Poland Voivodeship
Chiapas
New South Wales
Lublin Voivodeship
Punjab
Podlaskie Voivodeship
Khyber Pakhtunkhwa
Upper Austria
Brandenburg
Program:
function: Find
inputs: Brandenburg
function: FilterDate
dependencies: 0
inputs: dissolved, abolished or demolished
1952-07-25
=
function: Find
inputs: Khyber Pakhtunkhwa
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brandenburg" . ?e <dissolved,_abolished_or_demolished> ?pv_1 . ?pv_1 <pred:date> "1952-07-25"^^xsd:date . } UNION { ?e <pred:name> "Khyber Pakhtunkhwa" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brandenburg