Question: Which area is larger, Province of Brescia or Province of Rome?
Choices:
Province of Cuneo
Province of Palermo
Province of Brescia
Province of Rome
Province of Salerno
Province of Cagliari
Province of Turin
Province of Como
Province of Naples
Province of Potenza
Program:
function: Find
inputs: Province of Brescia
function: Find
inputs: Province of Rome
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Province of Brescia" .  } UNION { ?e <pred:name> "Province of Rome" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Province of Rome