Question: Does Astoria or Northridge have the larger population?
Choices:
Pacific Palisades
Northridge
Encino
Studio City
Astoria
Van Nuys
Jamaica
Roxbury
Woodland Hills
Sherman Oaks
Program:
function: Find
inputs: Astoria
function: Find
inputs: Northridge
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Astoria" .  } UNION { ?e <pred:name> "Northridge" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Astoria