Question: What is the connection between Illinois Institute of Technology to Chicago (the one that is the filming location of She's Having a Baby)?
Choices:
present in work
distribution
official religion
ancestral home
business division
performer
theme music
headquarters location
original language of film or TV show
officially opened by
Program:
function: Find
inputs: Illinois Institute of Technology
function: Find
inputs: She's Having a Baby
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Illinois Institute of Technology" . ?e_2 <pred:name> "Chicago" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "She's Having a Baby" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location