Question: What is the connection between Tom Rosenberg to Chicago (the one that is the birthplace of Karl Malden)?
Choices:
musical conductor
political alignment
has immediate cause
distributor
geographic distribution
place of birth
place of burial
organizer
located in the administrative territorial entity
successful candidate
Program:
function: Find
inputs: Tom Rosenberg
function: Find
inputs: Karl Malden
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Rosenberg" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Karl Malden" . ?e_1 ?p ?e_2 .  }
Answer: place of birth