Question: Which has a larger size widthwise, Rocky Mountains or Lake District?
Choices:
Transylvania
Atlantic Canada
Southern California
Caribbean
Rocky Mountains
Lake District
South America
Pacific Ocean
Piedmont
Antarctica
Program:
function: Find
inputs: Rocky Mountains
function: Find
inputs: Lake District
function: SelectBetween
dependencies: 0
1
inputs: width
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rocky Mountains" .  } UNION { ?e <pred:name> "Lake District" .  } ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rocky Mountains