Question: How is The Fighter (the one whose director of photography is James Wong Howe) related to United Artists?
Choices:
has contributing factor
drug used for treatment
sidekick of
model item
located in the administrative territorial entity
distributor
native language
material used
head coach
home world
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Fighter" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "James Wong Howe" . ?e_2 <pred:name> "United Artists" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Wong Howe
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: The Fighter
function: And
dependencies: 1
2
function: Find
inputs: United Artists
function: QueryRelation
dependencies: 3
4