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