Question: How is J.K. Simmons involved with the series of Law & Order with Chris North?
Choices:
cast member
exclave of
head of state
film distribute region
risk factor
professional or sports partner
educated at
replaces
appointed by
fictional universe described in
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Law & Order" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Chris Noth" . ?e_2 <pred:name> "J. K. Simmons" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chris Noth
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Law & Order
function: And
dependencies: 1
2
function: Find
inputs: J. K. Simmons
function: QueryRelation
dependencies: 3
4