Question: How is Twin Peaks that has 30 episodes related to Brenda Strong?
Choices: killed by
ancestral home
film crew member
owner of
field of work
cast member
doctoral advisor
has contributing factor
home venue
spouse
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Twin Peaks" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "30"^^xsd:double . ?e_2 <pred:name> "Brenda Strong" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Twin Peaks
function: FilterNum
dependencies: 0
inputs: number of episodes
30
=
function: Find
inputs: Brenda Strong
function: QueryRelation
dependencies: 1
2
Answer: cast member