Commit e200e18f authored by Angela Dedie's avatar Angela Dedie
Browse files

Update SET of consistent sid for Resources

parent 13576d91
Pipeline #1579 passed with stage
in 18 seconds
......@@ -123,8 +123,8 @@ g.run(set_property)
g.run(refactor_relationships)
# set consistent sid (eg HP:1234) and url conform url_sid (eg HP_1234)
g.run("MATCH (n:Resource) SET n.sid = n.oboInOwl__id;")
g.run("MATCH (r:Resource) SET r.url_sid = (SPLIT(r.uri, '/obo/')[1]);")
g.run("MATCH (r:Resource) SET r.sid = (replace(r.url_sid, '_', ':'));")
# set double labels for all terms
# find HP Terms and set double label: additional to "Resource" add "HP_Term" (16.601 labels)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment