what theme do the hair extension product lines have?
Entity
m.01hwt
Black
class class entity
business.product_theme business.product_line m.07fnvh
business.product_theme business.product_line business.product_category
Product theme Product line hair extension
none none none
business.product_theme.product_lines business.product_category.product_lines
Product lines Product lines
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 :business.product_theme . 
?x1 :type.object.type :business.product_line . 
VALUES ?x2 { :m.07fnvh } 
?x0 :business.product_theme.product_lines ?x1 . 
?x2 :business.product_category.product_lines ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND business.product_theme (JOIN business.product_theme.product_lines (JOIN (R business.product_category.product_lines) m.07fnvh)))