Question: Which area is larger, Juneau or Logan (the one whose population is 48174)?
Choices:
Columbus
Oakland
Waukegan
Juneau
Greenville
Franklin
New Haven
Logan
Boulder
Lansing
Program:
function: Find
inputs: Juneau
function: Find
inputs: Logan
function: FilterNum
dependencies: 1
inputs: population
48174
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Juneau" . } UNION { ?e <pred:name> "Logan" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "48174"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Juneau