Question: Does the Lake District or the Andes have the greater width?
Choices:
Antarctica
Caribbean
Atlantic Canada
Piedmont
Southern California
Lake District
Africa
Pacific Ocean
South America
Andes
Program:
function: Find
inputs: Lake District
function: Find
inputs: Andes
function: SelectBetween
dependencies: 0
1
inputs: width
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake District" .  } UNION { ?e <pred:name> "Andes" .  } ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Andes