Question: What is the connection between Buffy the Vampire Slayer (the one whose number of seasons is 7) to James Marsters?
Choices:
operating system
eye color
replaces
cast member
affiliation
designed by
heritage designation
risk factor
found
based on
Program:
function: Find
inputs: Buffy the Vampire Slayer
function: FilterNum
dependencies: 0
inputs: number of seasons
7
=
function: Find
inputs: James Marsters
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Buffy the Vampire Slayer" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "7"^^xsd:double . ?e_2 <pred:name> "James Marsters" . ?e_1 ?p ?e_2 .  }
Answer: cast member