Question: What is the connection between Elektra (the one that has Prakash Raj as a cast member) to Prakash Raj?
Choices:
coextensive with
voice actor
sidekick of
member of sports team
from fictional universe
cast member
mouth of the watercourse
editor
mother
edition or translation of
Program:
function: Find
inputs: Prakash Raj
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: Find
inputs: Prakash Raj
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elektra" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Prakash Raj" . ?e_2 <pred:name> "Prakash Raj" . ?e_1 ?p ?e_2 .  }
Answer: cast member