Question: The Merry Widow, with Clark Gable as a cast member, has what connection to Irene Lentz?
Choices:
relative
based on
commissioned by
seed team
main food source
writing system
cast member
edition or translation of
has contributing factor
copyright holder
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Merry Widow" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Clark Gable" . ?e_2 <pred:name> "Irene Lentz" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Clark Gable
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Find
inputs: Irene Lentz
function: QueryRelation
dependencies: 3
4