Question: What does Johnny Carson (who has the occupation of actor) have to do with West Hollywood?
Choices:
theme music
academic degree
member of sports team
operating system
collection
place of publication
place of death
officially opened by
executive producer
office held by head of government
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Johnny Carson
function: And
dependencies: 1
2
function: Find
inputs: West Hollywood
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnny Carson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "West Hollywood" . ?e_1 ?p ?e_2 .  }
Answer: place of death