which electric system has locomotive system british rail class 86?
Entity
m.05wn2c
25 kV AC railway electrification
class entity
rail.electric_system m.03w48n
rail.electric_system rail.electric_locomotive_class
Electric system British Rail Class 86
none none
rail.electric_system.locomotive_class
Locomotive class
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 :rail.electric_system . 
VALUES ?x1 { :m.03w48n } 
?x0 :rail.electric_system.locomotive_class ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.electric_system (JOIN rail.electric_system.locomotive_class m.03w48n))