Question: How is Entourage (the one that has Kelsey Grammer as a cast member) related to David Spade ?
Choices:
cast member
child
place of burial
coextensive with
cites
location
published in
uses
followed by
territory claimed by
Program:
function: Find
inputs: Kelsey Grammer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Entourage
function: And
dependencies: 1
2
function: Find
inputs: David Spade
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Entourage" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kelsey Grammer" . ?e_2 <pred:name> "David Spade" . ?e_1 ?p ?e_2 .  }
Answer: cast member