Question: Which is longer, Northern line or Lake District?>
Choices: Northern line
Southern California
Atlantic Canada
Transylvania
Caribbean
Lake District
Pacific Ocean
South America
Africa
Antarctica
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northern line" .  } UNION { ?e <pred:name> "Lake District" .  } ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Northern line
function: Find
inputs: Lake District
function: SelectBetween
dependencies: 0
1
inputs: length
greater
Answer: Northern line