Question: What does Atlantic City (directed by Pamela Fryman) have to do with Neil Patrick Harris?
Choices:
military conflicts
symptom of
genre
contributor(s) to the creative work
facet of
cast member
publisher
director of photography
performer
narrative role
Program:
function: Find
inputs: Pamela Fryman
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Atlantic City
function: And
dependencies: 1
2
function: Find
inputs: Neil Patrick Harris
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Atlantic City" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Pamela Fryman" . ?e_2 <pred:name> "Neil Patrick Harris" . ?e_1 ?p ?e_2 .  }
Answer: cast member