Question: What is the relationship between Harrison Ford (the one that is a cast member of K-19: The Widowmaker) and Calista Flockhart?
Choices:
head coach
spouse
mother
parent club
part of the series
voice actor
cause of death
sports season of league or competition
game mode
designed to carry
Answer: spouse
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harrison Ford" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "K-19: The Widowmaker" . ?e_2 <pred:name> "Calista Flockhart" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: K-19: The Widowmaker
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Harrison Ford
function: And
dependencies: 1
2
function: Find
inputs: Calista Flockhart
function: QueryRelation
dependencies: 3
4