Question: What is the connection between Gangs of New York (the one whose composer is Howard Shore) to gang?
Choices: main subject
business division
owner of
developer
student of
production designer
item operated
history of topic
quotes work
airline hub
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gangs of New York" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Howard Shore" . ?e_2 <pred:name> "gang" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Howard Shore
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Gangs of New York
function: And
dependencies: 1
2
function: Find
inputs: gang
function: QueryRelation
dependencies: 3
4
Answer: main subject