Question: What is the relationship between Kansas (the one that has Matt Dillon as a cast member) and Kyra Sedgwick?
Choices:
said to be the same as
architect
cast member
candidacy in election
archives at
has effect
properties for this type
lowest point
use
follows
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kansas" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Matt Dillon" . ?e_2 <pred:name> "Kyra Sedgwick" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Matt Dillon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Kansas
function: And
dependencies: 1
2
function: Find
inputs: Kyra Sedgwick
function: QueryRelation
dependencies: 3
4