Question: What is the relationship between The Producers (the one whose production company is Columbia Pictures) and John Barrowman?
Choices:
currency
appointed by
territory overlaps
signatory
replaced by
religion
inspired by
basic form of government
cast member
quotes work
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Producers" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Columbia Pictures" . ?e_2 <pred:name> "John Barrowman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Producers
function: And
dependencies: 1
2
function: Find
inputs: John Barrowman
function: QueryRelation
dependencies: 3
4