Question: How is the work titled Into the West linked to Patrick Doyle, born as Patrick Alan Doyle?
Choices:
studied by
programming language
film editor
nutrient
exported to
head of government
composer
legal form
designed by
chairperson
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Into the West" . ?e_1 <title> ?pv . ?pv <pred:value> "Into the West" . ?e_2 <pred:name> "Patrick Doyle" . ?e_2 <birth_name> ?pv_1 . ?pv_1 <pred:value> "Patrick Alan Doyle" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Into the West
function: FilterStr
dependencies: 0
inputs: title
Into the West
function: Find
inputs: Patrick Doyle
function: FilterStr
dependencies: 2
inputs: birth name
Patrick Alan Doyle
function: QueryRelation
dependencies: 1
3