Question: Which one, Brisbane (the one that is located in time zone Pacific Time Zone) or Glendale (the one whose official website is http://www.glendaleca.gov), has less elevation (above sea level)?
Choices:
Lansing
Columbus
Franklin
Waukegan
Brisbane
Glendale
Boulder
Compton
Greenville
Oakland
Answer: Brisbane
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brisbane" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Pacific Time Zone" . } UNION { ?e <pred:name> "Glendale" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.glendaleca.gov" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pacific Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Brisbane
function: And
dependencies: 1
2
function: Find
inputs: Glendale
function: FilterStr
dependencies: 4
inputs: official website
http://www.glendaleca.gov
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
less