Question: For Portland (the one whose elevation (above sea level) is 152 metre), in what administrative territorial entity was Matt Groening born?
Choices:
London
California
Florida
Oregon
Martinique
Georgia
Puerto Rico
Los Angeles
Stockholm County
North Rhine-Westphalia
Answer: Oregon
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Matt Groening" . ?e_2 <pred:name> "Portland" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "152"^^xsd:double . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: Matt Groening
function: Find
inputs: Portland
function: FilterNum
dependencies: 1
inputs: elevation above sea level
152 metre
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of birth
located in the administrative territorial entity