Question: What is the connection between Batman (the one whose publication date is 1989) to Danny Elfman?
Choices:
military casualty classification
office contested
film crew member
official language
academic degree
convicted of
composer
publisher
had as last meal
source of income
Program:
function: Find
inputs: Batman
function: FilterYear
dependencies: 0
inputs: publication date
1989
=
function: Find
inputs: Danny Elfman
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1989 . ?e_2 <pred:name> "Danny Elfman" . ?e_1 ?p ?e_2 .  }
Answer: composer