Question: Does Independence (the one whose population is 669) or Towson have a higher elevation above sea level?
Choices:
Josh Groban
lymphoma
Stanford
Scott Lobdell
Silver Spring
Towson
INXS
Independence
McLean
Bethesda
Program:
function: Find
inputs: Independence
function: FilterNum
dependencies: 0
inputs: population
669
=
function: Find
inputs: Towson
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Independence" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "669"^^xsd:double . } UNION { ?e <pred:name> "Towson" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Independence