Question: What is the relation of Chariots of Fire (a notable work of Vangelis) to Polydor Records?
Choices: military rank
film editor
writing system
production designer
studied by
record label
location of formation
presenter
source of income
licensed to broadcast to
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chariots of Fire" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Vangelis" . ?e_2 <pred:name> "Polydor Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Vangelis
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Chariots of Fire
function: And
dependencies: 1
2
function: Find
inputs: Polydor Records
function: QueryRelation
dependencies: 3
4
Answer: record label