what language is used in the beethoven's ninth symphony themed program?
Entity
m.02h40lc
English Language
class class entity
language.human_language tv.tv_program m.015xn
language.human_language tv.tv_program tv.tv_theme_song
Human Language TV Program beethoven's ninth symphony
none none none
tv.tv_program.languages tv.tv_program.theme_song
Languages Theme song
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :language.human_language . 
?x1 :type.object.type :tv.tv_program . 
VALUES ?x2 { :m.015xn } 
?x1 :tv.tv_program.languages ?x0 . 
?x1 :tv.tv_program.theme_song ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND language.human_language (JOIN (R tv.tv_program.languages) (JOIN tv.tv_program.theme_song m.015xn)))