Question: Which has greater elevation above sea level, Lexington whose official website is http://lexingtonva.gov/ or Alexandria that is a part of Washington metropolitan area?
Choices:
Danville
Charlottesville
Roanoke
Alexandria
Williamsburg
Winchester
Fairfax
Lexington
Suffolk
Hampton
Program:
function: Find
inputs: Lexington
function: FilterStr
dependencies: 0
inputs: official website
http://lexingtonva.gov/
function: Find
inputs: Washington metropolitan area
function: Relate
dependencies: 2
inputs: part of
backward
function: Find
inputs: Alexandria
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lexington" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://lexingtonva.gov/" . } UNION { ?e <pred:name> "Alexandria" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Washington metropolitan area" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lexington