Skip to content
Snippets Groups Projects
Commit 62f4dcce authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Fix

parent bee60b45
No related branches found
No related tags found
2 merge requests!16New: "Date Created" translation added to the SQL2Linked,!15New: "Date Created" and "Creator" translations added to the SQL2Linked
Pipeline #807360 skipped
......@@ -142,12 +142,16 @@ namespace SQL2Linked.Implementations
}
}
if (entry.Creator is not null)
{
AssertToGraphUriNode(graph, projectGraphName, dcterms + "creator", cosc + $"users/{entry.Creator}");
Console.WriteLine($"For project '{entry.DisplayName}' will migrate triple '{projectGraphName} {dcterms}creator {cosc}users/{entry.Creator}'. ");
}
if (entry.DateCreated is not null && entry.DateCreated.HasValue)
{
AssertToGraphLiteralNode(graph, projectGraphName, dcterms + "created", entry.DateCreated.Value.ToString());
AssertToGraphLiteralNode(graph, projectGraphName, dcterms + "created", entry.DateCreated.Value.ToString(), new Uri("http://www.w3.org/2001/XMLSchema#dateTime"));
Console.WriteLine($"For project '{entry.DisplayName}' will migrate triple '{projectGraphName} {dcterms}created {entry.DateCreated}'. ");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment