Question: How is Catch Me If You Can, set in New York City, related to James Brolin?
Choices: heritage designation
make-up artist
architect
cast member
director of photography
author
start point
architectural style
used by
public holiday
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Catch Me If You Can" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "James Brolin" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Catch Me If You Can
function: And
dependencies: 1
2
function: Find
inputs: James Brolin
function: QueryRelation
dependencies: 3
4
Answer: cast member