9064059 is the imo / lr identification number of which ship?
Entity
m.05c2ybs
MV Red Osprey
class literal
boats.ship 9064059^^http://www.w3.org/2001/XMLSchema#integer
boats.ship type.int
Ship 9064059
none none
boats.ship.imo_lr_identification_number
IMO / LR identification number
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 :boats.ship . 
VALUES ?x1 { "9064059"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :boats.ship.imo_lr_identification_number ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND boats.ship (JOIN boats.ship.imo_lr_identification_number 9064059^^http://www.w3.org/2001/XMLSchema#integer))