Question: What is the connection between Robert Young (the one that is the member of political party Republican Party) to Forest Lawn Memorial Park (the one that is the burial place of Hal B. Wallis)?
Choices:
place of burial
talk show guest
affiliation
head of state
native language
partner
maintained by
has part
works in collection
professorship
Answer: place of burial
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Young" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Republican Party" . ?e_2 <pred:name> "Forest Lawn Memorial Park" . ?e_4 <place_of_burial> ?e_2 . ?e_4 <pred:name> "Hal B. Wallis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Robert Young
function: And
dependencies: 1
2
function: Find
inputs: Hal B. Wallis
function: Relate
dependencies: 4
inputs: place of burial
forward
function: Find
inputs: Forest Lawn Memorial Park
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7