Question: Which area is larger in size, Venice (the one whose official name is Venesia) or Stavanger?
Choices:
Trieste
Dundee
Stavanger
Bergen
Santo Domingo
Venice
Kilkenny
Cork
Kingston
Abidjan
Answer: Venice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Venice" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Venesia" . } UNION { ?e <pred:name> "Stavanger" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Venice
function: FilterStr
dependencies: 0
inputs: official name
Venesia
function: Find
inputs: Stavanger
function: SelectBetween
dependencies: 1
2
inputs: area
greater