Question: Which area is larger, Hot Springs or Hagerstown?
Choices:
Franklin
Hot Springs
Hagerstown
Columbus
Oakland
Greenville
Boulder
Lansing
New Haven
Compton
Program:
function: Find
inputs: Hot Springs
function: Find
inputs: Hagerstown
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hot Springs" .  } UNION { ?e <pred:name> "Hagerstown" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hot Springs