Question: How is Elektra starring Jason Isaacs related to Jennifer Garner?
Choices:
performer
cast member
political ideology
headquarters location
main subject
draft pick from school
place of burial
student of
commander of
publisher
Program:
function: Find
inputs: Jason Isaacs
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: Find
inputs: Jennifer Garner
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> "Jason Isaacs" . ?e_2 <pred:name> "Jennifer Garner" . ?e_1 ?p ?e_2 .  }
Answer: cast member