Question: What is the connection between Frank Vincent (who is a cast member of The Sopranos) and voice actor?
Choices:
source of income
occupation
partially contains
participant of
owner of
significant person
source of material
donated by
board member
country
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frank Vincent" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "The Sopranos" . ?e_2 <pred:name> "voice actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Sopranos
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Frank Vincent
function: And
dependencies: 1
2
function: Find
inputs: voice actor
function: QueryRelation
dependencies: 3
4