Question: What is the connection between Lemony Snicket's A Series of Unfortunate Events (the one that has Cedric the Entertainer as a cast member) to Billy Connolly?
Choices:
signatory
cast member
league
place of death
home port
currency
operating system
military rank
update method
product or material produced
Program:
function: Find
inputs: Cedric the Entertainer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Lemony Snicket's A Series of Unfortunate Events
function: And
dependencies: 1
2
function: Find
inputs: Billy Connolly
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lemony Snicket's A Series of Unfortunate Events" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Cedric the Entertainer" . ?e_2 <pred:name> "Billy Connolly" . ?e_1 ?p ?e_2 .  }
Answer: cast member