Question: Which has a greater elevation above sea level, Pittsburgh (where Andy Warhol was born) or Reading (where the official website is https://www.readingpa.gov/)?
Choices: Greensburg
Pittsburgh
Harrisburg
York
Wilkes-Barre
Bethlehem
Reading
Philadelphia
Chester
Johnstown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pittsburgh" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Andy Warhol" . } UNION { ?e <pred:name> "Reading" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "https://www.readingpa.gov/" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Andy Warhol
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Pittsburgh
function: And
dependencies: 1
2
function: Find
inputs: Reading
function: FilterStr
dependencies: 4
inputs: official website
https://www.readingpa.gov/
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
greater
Answer: Pittsburgh