@prefix rdfs: . @prefix rdf: . @prefix owl: . @prefix : . # Class 'NoSuchClass' is declared :NoSuchClass a owl:Class . # Actual usage of class remains the same :Room a :NoSuchClass ; rdf:value "17" . # Other class declaration remains untouched :Bucket a owl:Class . # Class is valid, but the property is not. Remains untouched by this RepairTool :B1 a :Bucket ; :spoo 56 .