Question: Does Summit or Hollywood that was established on 1921-02-18 have more people?
Choices:
Summit
Boulder
Waukegan
New Haven
Oakland
Columbus
Compton
Hollywood
Greenville
Franklin
Answer: Hollywood
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Summit" . } UNION { ?e <pred:name> "Hollywood" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1921-02-18"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Summit
function: Find
inputs: Hollywood
function: FilterDate
dependencies: 1
inputs: inception
1921-02-18
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater