Question: Does Oswego or Coronado (whose official website is http://www.coronado.ca.us) have greater elevation (above sea level)?
Choices:
Oakland
Greenville
Columbus
Coronado
Compton
Lansing
Franklin
Waukegan
Boulder
Oswego
Program:
function: Find
inputs: Oswego
function: Find
inputs: Coronado
function: FilterStr
dependencies: 1
inputs: official website
http://www.coronado.ca.us
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oswego" . } UNION { ?e <pred:name> "Coronado" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.coronado.ca.us" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oswego