Question: Who is a cast member of Savannah (the one whose producer is Aaron Spelling)?
Choices:
Sarah Michelle Gellar
Holly Marie Combs
Rose McGowan
Matthew Morrison
Kaley Cuoco
Sylvester Stallone
Jack McBrayer
Ray Wise
Max Fleischer
Sam Shepard
Program:
function: Find
inputs: Aaron Spelling
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Savannah
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Savannah" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> "Aaron Spelling" .   }
Answer: Ray Wise