Question: What administrative territorial entity is Detroit (residence of Aaliyah), the birthplace of Jerry Bruckheimer, located in ?
Choices:
Quebec
Washington
Pennsylvania
Electorate of Saxony
Rome
Michigan
sanjak of the Ottoman Empire
Archbishopric of Salzburg
Virginia
Stockholm County
Answer: Michigan
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jerry Bruckheimer" . ?e_2 <pred:name> "Detroit" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Aaliyah" . ?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: Jerry Bruckheimer
function: Find
inputs: Aaliyah
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Detroit
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity