Question: What is the connection between George Burns (the one that was born in New York City) to Beverly Hills?
Choices:
instrument
talk show guest
employer
producer
place of death
officially opened by
facet of
military casualty classification
father
participant of
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Burns" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "Beverly Hills" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: George Burns
function: And
dependencies: 1
2
function: Find
inputs: Beverly Hills
function: QueryRelation
dependencies: 3
4