Question: What is the connection between The Firm (the one that has Paul Sorvino as a cast member) to Paul Sorvino?
Choices:
sexual orientation
maintained by
owner of
owned by
foundational text
subject has role
presenter
risk factor
cast member
located in or next to body of water
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Firm" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Paul Sorvino" . ?e_2 <pred:name> "Paul Sorvino" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Paul Sorvino
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Firm
function: And
dependencies: 1
2
function: Find
inputs: Paul Sorvino
function: QueryRelation
dependencies: 3
4