Question: Which has fewer people, Northridge or Jamaica (the one whose population is 217000)?
Choices:
Pacific Palisades
Van Nuys
Jamaica
Astoria
Northridge
Encino
Woodland Hills
Monte Carlo
Studio City
Roxbury
Answer: Northridge
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northridge" . } UNION { ?e <pred:name> "Jamaica" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "217000"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Northridge
function: Find
inputs: Jamaica
function: FilterNum
dependencies: 1
inputs: population
217000
=
function: SelectBetween
dependencies: 0
2
inputs: population
less