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