Question: What administrative territorial entity is the location of Chicago that is the birthplace of Bruce Dern and the narrative site of Home Alone (that has Catherine O'Hara as a cast member)?
Choices:
Pennsylvania
Minnesota
Georgia
Illinois
sanjak of the Ottoman Empire
Massachusetts
New York City
Texas
Roer
New Jersey
Program:
function: Find
inputs: Catherine O'Hara
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Home Alone
function: And
dependencies: 1
2
function: Find
inputs: Bruce Dern
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: narrative location
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Home Alone" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Catherine O'Hara" . ?e_2 <pred:name> "Chicago" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Bruce Dern" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Answer: Illinois