neilson and company builds what class of locomotives?
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.0yt16c5 m.088z89 m.0kvh16r m.0k0r814 m.04d_ct8 m.0yp4hhq m.0ff9hy m.0g54rj6 m.0knqvsz m.0ll1p6g m.0hnd6b5 m.0k2j567 m.0k2ltlf m.0kn2y5y m.0464f94 m.0bmdjz m.026660s m.0ynw2b5 m.0czknc m.02vy8sj m.0b4nht m.056pz_n m.05zjtp m.0gmdpm7 m.0gd674 m.0265xm7 m.0gmc3ws m.0l8phqb m.012r3w6g m.02q9ljy m.088y_r m.09n6s4 m.04mz5qr m.0yp00d3 m.0gdh75 m.0gmgfxd
CGR 4th Class 4-6-0TT 1882 NBR C Class NBR D class 0-6-0T G&SWR 187 Class GCR Class 8 CGR 3rd Class 4-4-0 1884 LNER Class D40 Queensland A10 Neilson class locomotive G&SWR 141 Class LNER class D41 GCR Class 9J G&SWR 95 Class G&SWR 9 Class G&SWR 58 Class SECR B1 class Midland Railway 700 Class Metropolitan Railway C Class CGR 1st Class 4-4-0 1879 GNRI Class Q LB&SCR D1 class NZR C class LSWR 460 class Caledonian Railway 812 and 652 Classes South African Class 6C 4-6-0 Caledonian Railway 264 Class NZR D class South African Class 6B 4-6-0 GCR Class 9A LCDR M class LSWR 415 class SECR C class NZR J class New South Wales D50 class locomotive CGR 1st Class 4-4-0TT 1881 LSWR A12 class Queensland B12 class locomotive
class entity
rail.locomotive_class m.0cbjr5
rail.locomotive_class rail.locomotive_builder
Locomotive class Neilson and Company
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.0cbjr5 } 
?x0 :rail.locomotive_class.built_by ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.built_by m.0cbjr5))