Question: What is the connection between Rules of Engagement (the one that has Ben Kingsley as a cast member) to drama film?
Choices:
genre
conflict
has contributing factor
cast member
captain
participant
cause of death
chairperson
founded by
after a work by
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rules of Engagement" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ben Kingsley" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ben Kingsley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Rules of Engagement
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4