Question: Titanic, with CANTIC-ID a1209447x, has what link with Bernard Hill?
Choices:
honorific suffix
production company
head coach
head of state
diplomatic relation
continent
season starts
cast member
capital of
winner
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Titanic" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a1209447x" . ?e_2 <pred:name> "Bernard Hill" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Titanic
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a1209447x
function: Find
inputs: Bernard Hill
function: QueryRelation
dependencies: 1
2