what is the name of the locomotive that is owned by southern pacific railroad
Entity
m.0gywp_4
Southern Pacific 2579
class class entity
rail.locomotive rail.locomotive_ownership m.022fbk
rail.locomotive rail.locomotive_ownership rail.locomotive_owner
Locomotive Locomotive ownership southern pacific railroad
none none none
rail.locomotive_ownership.locomotive rail.locomotive_ownership.owner
Locomotive Owner
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 . 
?x1 :type.object.type :rail.locomotive_ownership . 
VALUES ?x2 { :m.022fbk } 
?x1 :rail.locomotive_ownership.locomotive ?x0 . 
?x1 :rail.locomotive_ownership.owner ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND rail.locomotive (JOIN (R rail.locomotive_ownership.locomotive) (JOIN rail.locomotive_ownership.owner m.022fbk)))