Question: Is the area of San Salvador or Indore smaller?
Choices:
Dundee
Abidjan
San Salvador
Bergen
Indore
Trieste
Santo Domingo
Kingston
Chihuahua
Cork
Program:
function: Find
inputs: San Salvador
function: Find
inputs: Indore
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Salvador" .  } UNION { ?e <pred:name> "Indore" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: San Salvador