Question: The Quiet American, scripted by Joseph L. Mankiewicz, is related in what way to United Artists?
Choices:
taxon rank
league
distributor
position played on team / speciality
film editor
follows
derivative work
draft pick from school
owned by
sexual orientation
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Quiet American" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Joseph L. Mankiewicz" . ?e_2 <pred:name> "United Artists" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Joseph L. Mankiewicz
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Quiet American
function: And
dependencies: 1
2
function: Find
inputs: United Artists
function: QueryRelation
dependencies: 3
4