Question: How is nine lives, the one kathy baker was in, related to kathy baker.
Choices:
candidate
captain
after a work by
feast day
parent astronomical body
chief executive officer
creator
location
father
cast member
Program:
function: Find
inputs: Kathy Baker
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Nine Lives
function: And
dependencies: 1
2
function: Find
inputs: Kathy Baker
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nine Lives" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kathy Baker" . ?e_2 <pred:name> "Kathy Baker" . ?e_1 ?p ?e_2 .  }
Answer: cast member