Question: Which area is smaller, Warsaw or Damascus?
Choices:
Kingston
Cork
Abidjan
Trieste
Kilkenny
Warsaw
Bergen
Santo Domingo
Chihuahua
Damascus
Program:
function: Find
inputs: Warsaw
function: Find
inputs: Damascus
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warsaw" .  } UNION { ?e <pred:name> "Damascus" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Damascus