Question: In which administrative territorial entity is Baltimore, the death place of Edgar Allan Poe (whose date of death is 1849-10-07), located in?
Choices:
Grand Duchy of Finland
Colorado
Montserrat
Makkah Region
City of Westminster
Oregon
Maryland
Germany
Rome
Missouri
Answer: Maryland
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Edgar Allan Poe" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1849-10-07"^^xsd:date . ?e_2 <pred:name> "Baltimore" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: Edgar Allan Poe
function: FilterDate
dependencies: 0
inputs: date of death
1849-10-07
=
function: Find
inputs: Baltimore
function: QueryRelationQualifier
dependencies: 1
2
inputs: place of death
located in the administrative territorial entity