Skip to content
Snippets Groups Projects
Commit 088c6c6b authored by Hanna Führ's avatar Hanna Führ
Browse files

Merge branch 'Issue/2221-projectDateCreated' into 'dev'

New: "Date Created" and "Creator" translations added to the SQL2Linked

See merge request !15
parents 796ee38b 0b0a69e3
No related branches found
No related tags found
2 merge requests!19Release: Sprint/2022 18 :robot:,!15New: "Date Created" and "Creator" translations added to the SQL2Linked
Pipeline #807410 passed
......@@ -145,6 +145,19 @@ 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(), new Uri("http://www.w3.org/2001/XMLSchema#dateTime"));
Console.WriteLine($"For project '{entry.DisplayName}' will migrate triple '{projectGraphName} {dcterms}created {entry.DateCreated}'. ");
}
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