Question: What administrative territorial entity contains Savannah, which is designated by telephone area code 912 and is the death place of Gregg Allman?
Choices:
Kingdom of Lombardy–Venetia
Los Angeles
Scotland
Saint Petersburg
England
Georgia
Archbishopric of Salzburg
Kentucky
North Carolina
sanjak of the Ottoman Empire
Program:
function: Find
inputs: Gregg Allman
function: Find
inputs: Savannah
function: FilterStr
dependencies: 1
inputs: local dialing code
912
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of death
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gregg Allman" . ?e_2 <pred:name> "Savannah" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "912" . ?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 .  }
Answer: Georgia