Question: Tell me the relationship between Anger Management, the one that was released in the United States, to Krista Allen
Choices:
allegiance
home port
has parts of the class
geographic distribution
follows
rector
connects with
cast member
copyright representative
signatory
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anger Management" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Krista Allen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Anger Management
function: And
dependencies: 1
2
function: Find
inputs: Krista Allen
function: QueryRelation
dependencies: 3
4