Question: What is the connection between Emma (the one that has Kate Beckinsale as a cast member) to Samantha Morton?
Choices: award received
original film format
hair color
cast member
foundational text
studies
presenter
tributary
worshipped by
operating system
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kate Beckinsale" . ?e_2 <pred:name> "Samantha Morton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kate Beckinsale
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: Samantha Morton
function: QueryRelation
dependencies: 3
4
Answer: cast member