Question: What is the connection between Working Girl (the one that has Sandra Bullock as a cast member) to television comedy?
Choices: significant event
subsidiary
mother
foundational text
instrumentation
original language of film or TV show
position played on team / speciality
works in collection
genre
has quality
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Working Girl" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sandra Bullock" . ?e_2 <pred:name> "television comedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sandra Bullock
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Working Girl
function: And
dependencies: 1
2
function: Find
inputs: television comedy
function: QueryRelation
dependencies: 3
4
Answer: genre