Question: What is the connection between Cold War (the one whose composer is Carl Davis) to Carl Davis?
Choices:
office held by head of state
noble title
edition or translation of
composer
sibling
languages spoken, written or signed
medical condition
history of topic
fictional universe described in
residence
Program:
function: Find
inputs: Carl Davis
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Cold War
function: And
dependencies: 1
2
function: Find
inputs: Carl Davis
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cold War" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Carl Davis" . ?e_2 <pred:name> "Carl Davis" . ?e_1 ?p ?e_2 .  }
Answer: composer