Question: Does Mashhad or Como have the larger area?
Choices:
Kilkenny
Santo Domingo
Bergen
Mashhad
Chihuahua
Cork
Dundee
Kingston
Trieste
Abidjan
Program:
function: Find
inputs: Mashhad
function: Find
inputs: Como
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mashhad" .  } UNION { ?e <pred:name> "Como" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mashhad