Question: How is The Damned starring Peter Facinelli related to Peter Facinelli?
Choices:
highest judicial authority
location
next higher rank
home venue
vehicle normally used
filmography
is a list of
cast member
location of final assembly
drug used for treatment
Program:
function: Find
inputs: Peter Facinelli
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Damned
function: And
dependencies: 1
2
function: Find
inputs: Peter Facinelli
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Damned" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Peter Facinelli" . ?e_2 <pred:name> "Peter Facinelli" . ?e_1 ?p ?e_2 .  }
Answer: cast member