Question: What is the relationship between St. Louis Blues with Ruby Dee and musical film?
Choices:
officeholder
commissioned by
enclave within
publisher
genre
source of material
studies
conflict
sponsor
has cause
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St. Louis Blues" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ruby Dee" . ?e_2 <pred:name> "musical film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ruby Dee
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: St. Louis Blues
function: And
dependencies: 1
2
function: Find
inputs: musical film
function: QueryRelation
dependencies: 3
4