Question: What is the connection between Anna Karenina (the one that has Danny Huston as a cast member) to Danny Huston?
Choices:
said to be the same as
cast member
developer
facet of
has quality
statistical leader
military casualty classification
afflicts
license
tributary
Program:
function: Find
inputs: Danny Huston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: Danny Huston
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anna Karenina" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Danny Huston" . ?e_2 <pred:name> "Danny Huston" . ?e_1 ?p ?e_2 .  }
Answer: cast member