english electric built which locomotive class?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.073qk3 m.0b2pp5 m.0b76c6 m.0dgpv10 m.08f70m m.0_h2cpl m.026nby m.02s1rc m.02snfp m.02stlz m.02t0jr m.03ff4q m.04pdxy m.04pfjn m.052dz1 m.070f3k m.090ym_ m.02rcd4x m.02wzlf2 m.03_f06 m.03d36kl m.03w48n m.09p3ns m.0dhy7k m.0ds65z m.051nwx m.0czd4th m.0d6d12 m.0q3z034 m.055w1wm m.02s9dp m.0fbbdn m.0b_xjq m.0_g_z3z m.05f8lvp m.07__bw g.120lwxdk m.0czcgwl m.0b76np m.0k3nyrw m.04pflt m.0_gx9nn m.0_h14gx m.0gk_t5k m.0crhg2_ m.0f2xmd m.0_h1frm m.0b76ml m.0fbbv7 m.0k7xqc7 m.08r1hm m.04mxgx m.0105p8m3 m.0c6t83 m.0f1_gh m.0k9gjj9 m.0263030 m.0_fv6s4 m.0_gzf8q m.0czdg9m m.0_fvbn8 m.05f80jl m.03xlj0 m.0q3z97w m.0_h02m4 m.0k3m81z m.0_gyrfn m.0_gzcrf
NS Class 600 New Zealand E class locomotive British Rail Class D3/11 South Australian Railways 500 class Victorian Railways F class BHP Port Kembla D34 class British Rail Class 55 British Rail Class 08 British Rail Class 11 British Rail Class 12 British Rail Class 13 British Rail Class 40 British Railways D0226 British Rail DP2 British Rail Class 50 British Rail Class 20 British Rail Class 23 Victorian Railways L class NZR EC class British Rail Class 83 NZR ED class British Rail Class 86 PKP class EU06 New Zealand EW class locomotive NZR EO class British Rail Class 37 South African Class 5E, Series 2 Rhodesia Railways class DE2 Queensland Railways 1270 class Queensland Railways 1300 class British Rail Class 09 New Zealand DM class electric multiple unit NZR DI class Queensland Railways 2350 class WAGR K class Tasmanian Government Railways X class null South African Class 5E, Series 3 British Rail Class D3/10 MRWA G class British Rail GT3 Queensland Railways 2370 class BHP Port Kembla D35 class South Australian Railways 800 class Queensland Railways 1200 class New Zealand DE class locomotive Tasmanian Government Railways Za class British Rail Class D3/12 NZR DF class WAGR C class British Rail Class D3/6 NIR 1 Class English Electric EL.100 English Electric diesel engines NZR DG class MRWA F class Tasmanian Government Railways Y class BHP Port Kembla D9 class Queensland Railways 1620 class South African Class 5E, Series 1 BHP Port Kembla D1 class WAGR H class British Rail Class 73 Queensland Railways 1250 class BHP Port Kembla D16 class WAGR R class Tasmanian Government Railways Z class Queensland Railways 1600 class
class entity
rail.locomotive_class m.022pjb
rail.locomotive_class rail.locomotive_builder
Locomotive class English Electric
none none
rail.locomotive_class.built_by
Built by
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.locomotive_class . 
VALUES ?x1 { :m.022pjb } 
?x0 :rail.locomotive_class.built_by ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.built_by m.022pjb))