Question: Is Denver or San Antonio (population 96614) bigger in size?
Choices:
Greenville
Waukegan
Compton
Denver
San Antonio
Oakland
Boulder
Lansing
New Haven
Franklin
Program:
function: Find
inputs: San Antonio
function: FilterNum
dependencies: 0
inputs: population
96614
=
function: Find
inputs: Denver
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Antonio" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "96614"^^xsd:double . } UNION { ?e <pred:name> "Denver" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: San Antonio