Question: What is the connection between Hairspray (the one that is shot in Baltimore) to Jerry Stiller?
Choices:
health specialty
depicts
distribution
programming language
conferred by
creator
publisher
cast member
geography of topic
editor
Program:
function: Find
inputs: Baltimore
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Hairspray
function: And
dependencies: 1
2
function: Find
inputs: Jerry Stiller
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hairspray" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Baltimore" . ?e_2 <pred:name> "Jerry Stiller" . ?e_1 ?p ?e_2 .  }
Answer: cast member