Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SQL2Linked
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
SQL2Linked
Commits
11393ebf
Commit
11393ebf
authored
2 years ago
by
Benedikt Heinrichs
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Correct boolean representation
parent
7b438363
No related branches found
No related tags found
No related merge requests found
Pipeline
#781981
passed
2 years ago
Stage: build
Stage: publish
Stage: commands
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SQL2Linked/Implementations/ProjectStructuralData.cs
+1
-1
1 addition, 1 deletion
src/SQL2Linked/Implementations/ProjectStructuralData.cs
src/SQL2Linked/Implementations/ResourceStructuralData.cs
+1
-1
1 addition, 1 deletion
src/SQL2Linked/Implementations/ResourceStructuralData.cs
with
2 additions
and
2 deletions
src/SQL2Linked/Implementations/ProjectStructuralData.cs
+
1
−
1
View file @
11393ebf
...
...
@@ -89,7 +89,7 @@ namespace SQL2Linked.Implementations
}
}
AssertToGraphLiteralNode
(
graph
,
projectGraphName
,
cosc
+
"terms/project#deleted"
,
entry
.
Deleted
.
ToString
(),
new
Uri
(
"http://www.w3.org/2001/XMLSchema#boolean"
));
AssertToGraphLiteralNode
(
graph
,
projectGraphName
,
cosc
+
"terms/project#deleted"
,
entry
.
Deleted
.
ToString
()
.
ToLower
()
,
new
Uri
(
"http://www.w3.org/2001/XMLSchema#boolean"
));
Console
.
WriteLine
(
$"For project '
{
entry
.
DisplayName
}
' will migrate triple '
{
projectGraphName
}
{
cosc
}
terms/project#deleted
{
entry
.
Deleted
}
'. "
);
AssertToGraphLiteralNode
(
graph
,
projectGraphName
,
cosc
+
"terms/project#slug"
,
entry
.
Slug
);
...
...
This diff is collapsed.
Click to expand it.
src/SQL2Linked/Implementations/ResourceStructuralData.cs
+
1
−
1
View file @
11393ebf
...
...
@@ -101,7 +101,7 @@ namespace SQL2Linked.Implementations
AssertToGraphUriNode
(
graph
,
resourceGraphName
,
dcterms
+
"creator"
,
cosc
+
$"users/
{
entry
.
Creator
}
"
);
Console
.
WriteLine
(
$"For resource '
{
entry
.
DisplayName
}
' will migrate triple '
{
resourceGraphName
}
{
dcterms
}
creator
{
cosc
}
users/
{
entry
.
Creator
}
'. "
);
AssertToGraphLiteralNode
(
graph
,
resourceGraphName
,
cosc
+
"terms/resource#archived"
,
entry
.
Archived
.
ToString
(),
new
Uri
(
"http://www.w3.org/2001/XMLSchema#boolean"
));
AssertToGraphLiteralNode
(
graph
,
resourceGraphName
,
cosc
+
"terms/resource#archived"
,
entry
.
Archived
.
ToString
()
.
ToLower
()
,
new
Uri
(
"http://www.w3.org/2001/XMLSchema#boolean"
));
Console
.
WriteLine
(
$"For resource '
{
entry
.
DisplayName
}
' will migrate triple '
{
resourceGraphName
}
{
cosc
}
terms/resource#archived
{
entry
.
Archived
}
'. "
);
AssertToGraphUriNode
(
graph
,
resourceGraphName
,
foaf
+
"homepage"
,
resourceGraphName
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment