Skip to content
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

update importers, rdfimport #114

Merged
merged 7 commits into from
Jan 31, 2025
Merged

update importers, rdfimport #114

merged 7 commits into from
Jan 31, 2025

Conversation

koeaw
Copy link
Collaborator

@koeaw koeaw commented Jan 31, 2025

No description provided.

koeaw added 7 commits January 31, 2025 09:37
Make variable names more Pythonic for readability.
Improve formatting of Docstring for readability.
Check for `Uri` and return `content_object` if it
already exists. If it doesn't, create new `Uri`
for newly created entity object.
Add checks for incomplete `Person` dates to `PersonImporter`
`mangle_data` method. This drops dates which aren't formatted
YYYY-MM-DD so they don't cause errors when trying to
import them into the model's `DateFields`.
Remove unused check for `profession` from `PersonImporter`'s
`mangle_data` method.
Add new TOML file with SPARQL queries for importing
`Work` data from DNB.
Add new importer class (stub) for `Work` entity.
@koeaw koeaw force-pushed the kk/refactor/importers_rdfimport branch from 4db1e2a to 335cb11 Compare January 31, 2025 08:43
@koeaw koeaw merged commit fb36e4d into main Jan 31, 2025
5 checks passed
@koeaw koeaw deleted the kk/refactor/importers_rdfimport branch January 31, 2025 08:50
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.

1 participant