Question: What is the relationship between The Town (the one whose composer is Harry Gregson-Williams) and Graham King?
Choices:
statistical leader
official language
work location
producer
award disciplines or subjects
illustrator
appears in the form of
found
position held
programming paradigm
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Town" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Harry Gregson-Williams" . ?e_2 <pred:name> "Graham King" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Harry Gregson-Williams
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Town
function: And
dependencies: 1
2
function: Find
inputs: Graham King
function: QueryRelation
dependencies: 3
4