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