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

Update dataloading_via_neosemantics.py

parent e200e18f
Pipeline #1582 passed with stage
in 18 seconds
......@@ -129,21 +129,21 @@ 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)
g.run(
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/HP_' SET n:Resource:HP_Term;"
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/HP_' SET n:Resource:HP_Term:Term;"
)
# MP Terms (13.817)
g.run(
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/MP_' SET n:Resource:MP_Term;"
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/MP_' SET n:Resource:MP_Term:Term;"
)
# GO Terms (47.235)
g.run(
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/GO_' SET n:Resource:GO_Term;"
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/GO_' SET n:Resource:GO_Term:Term;"
)
# PATO Terms (2.749)
g.run(
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/PATO_' SET n:Resource:PATO_Term;"
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/PATO_' SET n:Resource:PATO_Term:Term;"
)
# DOID (13.355)
g.run(
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/DOID_' SET n:Resource:DOID_Term;"
"MATCH (n:Resource) WHERE n.uri contains 'http://purl.obolibrary.org/obo/DOID_' SET n:Resource:DOID_Term:Term;"
)
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