which class of locomotives are built by siemens?
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.05bzsxc m.0d16sp m.0ddcbjv m.02qdbw4 m.02z62fp m.03wfymr m.03y98x3 m.0520m1_ m.07_ncl m.080cymk m.0b_nxw m.0bb0c5 m.0bcs50 m.0bh9jp_ m.0dzwb5 m.09zj14 m.0czdr0x m.05c4rsd m.0dgs3jk m.0crcbpv m.0934qz m.0ddc99w m.05c0fq6 g.12377c5c m.0pdnl00 m.0ddh5lw m.0dgn9lp m.0ddbtth m.0c41bcx m.0dd9r8x m.09rx6mk m.0ch0s_1 g.11x7vrhcb m.0ch36mp m.0dgrg0n m.0dd966x m.04crplv m.0crcbp4
Asiarunner EMD F69PHAC South African Class 7E NSB El 3 EuroSprinter NSB El 5 SJ O SNCB Class 18 DB Class 103 DB Class 151 DB Class E 40 DB Class E 41 DB Class 111 OSE class 120 DB Class E 10 NSB Di 8 RENFE Class 311 Eurorunner South African Class 38-000 China Railways HXD1 NSB Di 6 South African Class 8E Alstom Prima diesel locomotives null Civia South African Class 7E2, Series 1 South African Class E38 South African Class 14E1 CP Class 4700 South African Class 7E2, Series 2 CP Class 5600 Vectron null RENFE Class 252 2ES10 South African Class 14E AVE Class 103 China Railways DJ1
class entity
rail.locomotive_class m.016l20
rail.locomotive_class rail.locomotive_builder
Locomotive class Siemens
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.016l20 } 
?x0 :rail.locomotive_class.built_by ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.built_by m.016l20))