Question: Which has less elevation above sea level, Philadelphia that is the filming location of Silver Linings Playbook or Reading whose elevation above sea level is 93 metres?
Choices: Wilkes-Barre
York
Johnstown
Reading
Chester
Greensburg
Pittsburgh
Erie
Philadelphia
Bethlehem
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Philadelphia" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Silver Linings Playbook" . } UNION { ?e <pred:name> "Reading" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "93"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Silver Linings Playbook
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 1
2
function: Find
inputs: Reading
function: FilterNum
dependencies: 4
inputs: elevation above sea level
93 metre
=
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
less
Answer: Philadelphia