Question: Which area is smaller, Cook Islands or Wales?
Choices:
Scotland
Lee Grant
Cook Islands
Greenland
Netherlands
English people
Fair Game
Faroe Islands
Wales
Billy Boyd
Program:
function: Find
inputs: Cook Islands
function: Find
inputs: Wales
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cook Islands" .  } UNION { ?e <pred:name> "Wales" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cook Islands