Question: Which one is higher in relation to sea level, San Juan (the one whose official website is http://www.sanjuan.pr/) or Murfreesboro?
Choices:
Columbus
Franklin
New Haven
Boulder
Lansing
Oakland
Compton
Greenville
Murfreesboro
Waukegan
Program:
function: Find
inputs: San Juan
function: FilterStr
dependencies: 0
inputs: official website
http://www.sanjuan.pr/
function: Find
inputs: Murfreesboro
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Juan" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.sanjuan.pr/" . } UNION { ?e <pred:name> "Murfreesboro" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Murfreesboro