diff --git a/src/SQL2Linked/Implementations/ResourceStructuralData.cs b/src/SQL2Linked/Implementations/ResourceStructuralData.cs index 6d2a73a6c139a378af2bf1fa22f87e12508a6a32..4acd46988e676d50936dc68d2dcbdcdec78415fe 100644 --- a/src/SQL2Linked/Implementations/ResourceStructuralData.cs +++ b/src/SQL2Linked/Implementations/ResourceStructuralData.cs @@ -92,6 +92,12 @@ namespace SQL2Linked.Implementations AssertToGraphLiteralNode(graph, resourceGraphName, dcterms + "description", entry.Description); Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}description {entry.Description}'. "); + // Skipping broken resources + if (string.IsNullOrWhiteSpace(entry.ApplicationProfile)) + { + continue; + } + AssertToGraphUriNode(graph, resourceGraphName, dcterms + "conformsTo", entry.ApplicationProfile); Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}conformsTo {entry.ApplicationProfile}'. ");