Question: What is the connection between House (the one that has John Larroquette as a cast member) to Taraji P. Henson?
Choices:
dedicated to
cast member
inspired by
feast day
genre
lyrics by
film release region
executive producer
screenwriter
source of material
Program:
function: Find
inputs: John Larroquette
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: House
function: And
dependencies: 1
2
function: Find
inputs: Taraji P. Henson
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "House" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "John Larroquette" . ?e_2 <pred:name> "Taraji P. Henson" . ?e_1 ?p ?e_2 .  }
Answer: cast member