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