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