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