Question: Which area is larger, Thuringia (the one whose inception time is 1945-07-09) or England (the one that is the narrative location of Tess)?
Choices:
New South Wales
Minas Gerais
Punjab
Upper Austria
Podlaskie Voivodeship
Chiapas
England
Thuringia
Lublin Voivodeship
Tasmania
Program:
function: Find
inputs: Thuringia
function: FilterDate
dependencies: 0
inputs: inception
1945-07-09
=
function: Find
inputs: Tess
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: England
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
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> "England" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Tess" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: England