piano sonata is the sub-forms of which composition type?
Entity
m.0c0yr
Sonata
class entity
music.compositional_form m.03rl25
music.compositional_form music.compositional_form
Composition type Piano sonata
none none
music.compositional_form.subforms
Sub-forms
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 :music.compositional_form . 
VALUES ?x1 { :m.03rl25 } 
?x0 :music.compositional_form.subforms ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND music.compositional_form (JOIN music.compositional_form.subforms m.03rl25))