When the tool converts the Philharmonie TUMs, it duplicates the property mus:U17_has_opus_statement if the tag 444p does not exist in the MARC file.
This could be because in the code it doesn't check if it is empty or not:
/**************************** Expression: Opus ******************************************/
if (!(getOpus(Converter.getFile(), "144").equals(""))) {
F22.addProperty(modelF22.createProperty(mus + "U17_has_opus_statement"), modelF22.createResource()
.addProperty(modelF22.createProperty(cidoc + "P3_has_note"), getOpus(Converter.getFile(), "144"))
.addProperty(modelF22.createProperty(cidoc + "P106_is_composed_of"), getOpusNumber(Converter.getFile(), "144"))
.addProperty(modelF22.createProperty(cidoc + "P106_is_composed_of"), getOpusSubNumber(Converter.getFile(), "144"))
);
if (!(getOpus(Converter.getFile(), "144").equals(getOpus(Converter.getFile(), "444")))) { //Si le contenu de 144 est différent de 444
F22.addProperty(modelF22.createProperty(mus + "U17_has_opus_statement"), modelF22.createResource()
.addProperty(modelF22.createProperty(cidoc + "P3_has_note"), getOpus(Converter.getFile(), "444"))
.addProperty(modelF22.createProperty(cidoc + "P106_is_composed_of"), getOpusNumber(Converter.getFile(), "444"))
.addProperty(modelF22.createProperty(cidoc + "P106_is_composed_of"), getOpusSubNumber(Converter.getFile(), "444"))
);
}
}
That gives as consequence rdf files having some duplicated and empty properties:
When the tool converts the Philharmonie TUMs, it duplicates the property
mus:U17_has_opus_statement
if the tag444p
does not exist in the MARC file. This could be because in the code it doesn't check if it is empty or not:That gives as consequence rdf files having some duplicated and empty properties: