This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Ability to load a services.Dataset into a Neo4J instance#76
Open
selimyoussry wants to merge 1 commit intomainfrom
Open
Ability to load a services.Dataset into a Neo4J instance#76selimyoussry wants to merge 1 commit intomainfrom
selimyoussry wants to merge 1 commit intomainfrom
Conversation
6956289 to
0b93959
Compare
| @@ -0,0 +1,6 @@ | |||
| start-neo4j: | |||
Member
There was a problem hiding this comment.
♥ make, but ideally would later move this to tasks.py
dds_glossary/neo.py
Outdated
|
|
||
| # Load concept -> concept scheme relationships | ||
| for concept in concepts: | ||
| edge_type = "IsFrom" |
Member
There was a problem hiding this comment.
0b93959 to
92bf4d8
Compare
| import neo4j | ||
| from owlready2 import get_ontology | ||
|
|
||
| logging.basicConfig(format="%(asctime)s - %(message)s", level=logging.INFO) |
Member
There was a problem hiding this comment.
Would probably be better to structure the log
logger = logging.getLogger(__name__)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❤️ Thank you for your contribution!
Description
Add a module with the ability to load a services.Dataset into a running Neo4J instance
Improvements: this is not an efficient loading mechanism, moving to CSV imports in the near future will be preferrable
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: