Question: What does Heroes (whose narrative location is New York City) have to do with Jessalyn Gilsig?
Choices:
lyrics by
symptoms
cast member
narrative role
public holiday
programming language
culture
destination point
follows
participant
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: Find
inputs: Jessalyn Gilsig
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heroes" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "Jessalyn Gilsig" . ?e_1 ?p ?e_2 .  }
Answer: cast member