Question: Is there a greater elevation above sea level in Arlington or in Fayetteville (the one whose PermID is 5035888231)?
Choices:
Waukegan
Greenville
Fayetteville
New Haven
Compton
Oakland
Boulder
Franklin
Arlington
Lansing
Program:
function: Find
inputs: Arlington
function: Find
inputs: Fayetteville
function: FilterStr
dependencies: 1
inputs: PermID
5035888231
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arlington" . } UNION { ?e <pred:name> "Fayetteville" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "5035888231" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fayetteville