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

Update: removing some unnecessary code (coscine/issues#2083)

parent cdea641e
Branches
No related tags found
2 merge requests!7Fix: Migrate resourceType structured data to linked data - fixes,!5Fix: Migrate resourceType structured data to linked data
Pipeline #751327 skipped
...@@ -25,14 +25,6 @@ namespace SQL2Linked.Implementations ...@@ -25,14 +25,6 @@ namespace SQL2Linked.Implementations
if (!getTriples.Any()) if (!getTriples.Any())
{ {
// check if a resourcetype graph already exists
var exists = RdfStoreConnector.HasGraph(resourceTypeGraphName);
if (!exists)
{
RdfStoreConnector.CreateNamedGraph(resourceTypeGraphName);
}
graph.Assert( graph.Assert(
new Triple( new Triple(
graph.CreateBlankNode(), graph.CreateBlankNode(),
......
...@@ -25,14 +25,6 @@ namespace SQL2Linked.Implementations ...@@ -25,14 +25,6 @@ namespace SQL2Linked.Implementations
if (!getTriples.Any()) if (!getTriples.Any())
{ {
// check if a user graph already exists
var exists = RdfStoreConnector.HasGraph(userGraphName);
if (!exists)
{
RdfStoreConnector.CreateNamedGraph(userGraphName);
}
graph.Assert( graph.Assert(
new Triple( new Triple(
graph.CreateBlankNode(), graph.CreateBlankNode(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment