Skip to content

Added users/authors as nodes and their relationships #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025
Merged

Conversation

erikriv16
Copy link
Collaborator

ingest_person() -> creating or updating a Person node
ingest_entity_person_rel() -> creates relationship from Entity node to Person node

pub_ingest.ipynb Outdated
" contrib_query = \"\"\"\n",
" MATCH (e:Entity {uuid: $entity_uuid})\n",
" MATCH (p:Person {personId: $unique_id})\n",
" MERGE (e)-[r:CONTRIBUTED {role: $role, source: $source}]->(p)\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The relationship label here should probably be :HAS_CONTRIBUTOR since the relationship points from the publication to the user/author.

@jarosenb jarosenb merged commit 63df065 into main Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants