find all ships with imo/ir number after 5273808 built by harland & wolff ltd..
Entity Entity Entity Entity
m.0cc7wmt m.06zlkkh m.0hr853z m.0wxx6kw
MS Stena Cambria MS Port Link RMS Pendennis Castle MV Lisboa
class literal entity
boats.ship 5273808^^http://www.w3.org/2001/XMLSchema#integer m.01dv21
boats.ship type.int boats.ship_builder
Ship 5273808 harland & wolff ltd.
none >= none
boats.ship.imo_lr_identification_number boats.ship_builder.ships_built
IMO / LR identification number Ships built
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 . 
FILTER (?x1 >= "5273808"^^<http://www.w3.org/2001/XMLSchema#integer>)
VALUES ?x2 { :m.01dv21 } 
?x0 :boats.ship.imo_lr_identification_number ?x1 . 
?x2 :boats.ship_builder.ships_built ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND boats.ship (AND (ge boats.ship.imo_lr_identification_number 5273808^^http://www.w3.org/2001/XMLSchema#integer) (JOIN (R boats.ship_builder.ships_built) m.01dv21)))