Question: Which has more area, Khyber Pakhtunkhwa or Saxony-Anhalt that started on 1947-02-25?
Choices:
Greater Poland Voivodeship
Khyber Pakhtunkhwa
Punjab
Podlaskie Voivodeship
Chiapas
England
New South Wales
Saxony-Anhalt
Upper Austria
Lublin Voivodeship
Answer: Khyber Pakhtunkhwa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Khyber Pakhtunkhwa" . } UNION { ?e <pred:name> "Saxony-Anhalt" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1947-02-25"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Khyber Pakhtunkhwa
function: Find
inputs: Saxony-Anhalt
function: FilterDate
dependencies: 1
inputs: start time
1947-02-25
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater