what is the industry in which union operates and is the common parent industry of automobile industry?
Entity
m.0126b6d7
Ballyclare Limited
class class entity entity
business.industry business.industry m.054w78 m.015smg
business.industry business.industry business.trade_union business.industry
Industry Industry union automobile industry
none none none none
business.industry.child_industry business.industry.trade_unions business.industry.child_industry
Child Industry Trade unions Child Industry
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.industry . 
?x1 :type.object.type :business.industry . 
VALUES ?x2 { :m.054w78 } 
VALUES ?x3 { :m.015smg } 
?x1 :business.industry.child_industry ?x0 . 
?x1 :business.industry.trade_unions ?x2 . 
?x3 :business.industry.child_industry ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND business.industry (AND (JOIN (R business.industry.child_industry) (JOIN business.industry.trade_unions m.054w78)) (JOIN (R business.industry.child_industry) m.015smg)))