Question: What is the relation between Buffy the Vampire Slayer (the one released in 1997) with Alyson Hannigan?
Choices:
does not have part
operator
medical treatment
spouse
indigenous to
film editor
student of
occupant
cast member
director/manager
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Buffy the Vampire Slayer" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1997 . ?e_2 <pred:name> "Alyson Hannigan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Buffy the Vampire Slayer
function: FilterYear
dependencies: 0
inputs: publication date
1997
=
function: Find
inputs: Alyson Hannigan
function: QueryRelation
dependencies: 1
2