Question: Is the area greater for Saskatoon or Thunder Bay (the one whose inception time is 1683)?
Choices: Chihuahua
Saskatoon
Kingston
Thunder Bay
Kilkenny
Santo Domingo
Cork
Trieste
Abidjan
Dundee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saskatoon" . } UNION { ?e <pred:name> "Thunder Bay" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1683 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saskatoon
function: Find
inputs: Thunder Bay
function: FilterYear
dependencies: 1
inputs: inception
1683
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Thunder Bay