Question: Which area is larger, Pavia or Cremona?
Choices:
Lucca
Cremona
Pavia
Servette FC
Niagara County
Tony Goldwyn
Mantua
New Delhi
The Kids Are All Right
Treviso
Program:
function: Find
inputs: Pavia
function: Find
inputs: Cremona
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pavia" .  } UNION { ?e <pred:name> "Cremona" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cremona