Question: What is the connection between Transformers (the one whose narrative location is Washington, D.C.) to Bernie Mac?
Choices:
partially contains
official language
from fictional universe
cast member
airline hub
killed by
worshipped by
has effect
soundtrack album
place of burial
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Transformers
function: And
dependencies: 1
2
function: Find
inputs: Bernie Mac
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Transformers" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." . ?e_2 <pred:name> "Bernie Mac" . ?e_1 ?p ?e_2 .  }
Answer: cast member