Question: What is the relationship between Paul Walker (the one that has the occupation of screenwriter) and Forest Lawn Memorial Park (the one that is the burial place of Laraine Day)?
Choices:
vehicle normally used
said to be the same as
part of
honorific prefix
officeholder
political ideology
official symbol
famous people
feast day
place of burial
Answer: place of burial
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Walker" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "Forest Lawn Memorial Park" . ?e_4 <place_of_burial> ?e_2 . ?e_4 <pred:name> "Laraine Day" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Paul Walker
function: And
dependencies: 1
2
function: Find
inputs: Laraine Day
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