Question: Tell me the one with the bigger area, Netherlands or Cook Islands.
Choices:
Greenland
Netherlands
Fayette County
King Records
Wales
Faroe Islands
Scotland
Cook Islands
Lindsay Crouse
Downfall
Program:
function: Find
inputs: Cook Islands
function: Find
inputs: Netherlands
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cook Islands" .  } UNION { ?e <pred:name> "Netherlands" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Netherlands