Question: What is the association between Salem (whose producer is Brannon Braga) and costume drama?
Choices:
applies to jurisdiction
place of death
genre
color
original film format
honorific prefix
original language of film or TV show
home venue
terminus
hair color
Program:
function: Find
inputs: Brannon Braga
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Salem
function: And
dependencies: 1
2
function: Find
inputs: costume drama
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Salem" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Brannon Braga" . ?e_2 <pred:name> "costume drama" . ?e_1 ?p ?e_2 .  }
Answer: genre