Question: Is the larger area occupied by Cuba, which has a nominal gross domestic product of 73141000000 USD, or Moldova?
Choices:
Tajikistan
Finland
Lithuania
Bulgaria
Moldova
Kosovo
Kazakhstan
Sweden
Cuba
Greece
Answer: Cuba
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cuba" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "73141000000"^^xsd:double . } UNION { ?e <pred:name> "Moldova" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cuba
function: FilterNum
dependencies: 0
inputs: nominal GDP
73141000000 United States dollar
=
function: Find
inputs: Moldova
function: SelectBetween
dependencies: 1
2
inputs: area
greater