Question: How is Kevin Nealon related to Anger Management, a property which includes January Jones in the cast?
Choices:
cast member
affiliation
statistical leader
use
highest judicial authority
mother
captain
participant
original language of film or TV show
legislative body
Program:
function: Find
inputs: January Jones
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anger Management
function: And
dependencies: 1
2
function: Find
inputs: Kevin Nealon
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anger Management" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "January Jones" . ?e_2 <pred:name> "Kevin Nealon" . ?e_1 ?p ?e_2 .  }
Answer: cast member