Skip to content
Snippets Groups Projects
Commit 36413cc7 authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Small adaption

parent ff44aefc
No related branches found
No related tags found
1 merge request!9New: Migrate resource structured data to linked data
Pipeline #778642 skipped
......@@ -72,10 +72,11 @@ namespace SQL2Linked.Implementations
{
AssertToGraphLiteralNode(graph, resourceGraphName, dcterms + "license", license.DisplayName);
Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{resourceGraphName} {dcterms}license {license.DisplayName}'. ");
break;
}
}
if (entry.Keywords.Any())
if (!string.IsNullOrWhiteSpace(entry.Keywords))
{
var listKeywords = entry.Keywords.Split(';').ToList();
foreach (var keyword in listKeywords)
......@@ -142,8 +143,10 @@ namespace SQL2Linked.Implementations
Console.WriteLine($"For resource '{entry.DisplayName}' will migrate triple '{blankNode} {acl}accessTo {acl}Control'. ");
}
}
graphs.Add(graph);
}
return graphs;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment