Question: Which one, Santiago de Cuba or Gold Coast (the one located in Queensland), has less area?
Choices:
Gold Coast
Bergen
Chihuahua
Abidjan
Dundee
Kilkenny
Cork
Trieste
Santo Domingo
Santiago de Cuba
Program:
function: Find
inputs: Santiago de Cuba
function: Find
inputs: Queensland
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Gold Coast
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santiago de Cuba" .  } UNION { ?e <pred:name> "Gold Coast" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Queensland" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Santiago de Cuba