Question: Does Lucca or Pavia have the larger area?
Choices: Pavia
Prince
Cremona
Mantua
Lucca
University of Westminster
captain
Céline Dion
Kingston
Treviso
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lucca" .  } UNION { ?e <pred:name> "Pavia" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lucca
function: Find
inputs: Pavia
function: SelectBetween
dependencies: 0
1
inputs: area
greater
Answer: Lucca