Question: Between the Providence where Providence College is located and Newburgh, which has a higher population count?
Choices:
Oakland
Waukegan
Compton
Lansing
Newburgh
Providence
Boulder
Greenville
New Haven
Franklin
Program:
function: Find
inputs: Providence College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Providence
function: And
dependencies: 1
2
function: Find
inputs: Newburgh
function: SelectBetween
dependencies: 3
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Providence" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Providence College" .   } UNION { ?e <pred:name> "Newburgh" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Providence