Question: Is the area greater for Treviso or Mantua?
Choices:
Pavia
Peter Jackson
Mantua
Lucca
South Pacific
Treviso
Cremona
Ernest Lehman
Will Smith
Yunjin Kim
Program:
function: Find
inputs: Treviso
function: Find
inputs: Mantua
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Treviso" .  } UNION { ?e <pred:name> "Mantua" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mantua