Question: Is the population greater for Marshall, Texas or Muncie?
Choices:
Compton
Lansing
New Haven
Boulder
Oakland
Muncie
Waukegan
Franklin
Columbus
Greenville
Program:
function: Find
inputs: Marshall, Texas
function: Find
inputs: Muncie
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marshall, Texas" .  } UNION { ?e <pred:name> "Muncie" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Muncie