Question: How is Robert Patrick, The Faculty cast member, related to a voice actor?
Choices:
owned by
occupation
doctoral student
narrative role
depicts
vehicle normally used
is a list of
quotes work
officially opened by
currency
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Patrick" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "The Faculty" . ?e_2 <pred:name> "voice actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Faculty
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Robert Patrick
function: And
dependencies: 1
2
function: Find
inputs: voice actor
function: QueryRelation
dependencies: 3
4