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

feat(generic): refactor GenericRDFBaseRenderer and add CIDOC renderers #1505

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

b1rger
Copy link
Contributor

@b1rger b1rger commented Dec 18, 2024

The GenericRDFBaseRenderer now uses graphs instead of working with
triples. Additionaly it is possible to override the serialization format
by setting the renderers rdflib_format attribute. If this is not set,
the serialization uses the format attribute from the renderer as
serialization format.

The GenericRDFBaseRenderer now uses graphs instead of working with
triples. Additionaly it is possible to override the serialization format
by setting the renderers `rdflib_format` attribute. If this is not set,
the serialization uses the `format` attribute from the renderer as
serialization format.
This serializer should provide a basis for CIDOC serializers as well as
a fallback for models that have no CIDOC serializer configured.
Those serializers are based on the GenericModelCidocSerializer and add
addional attributes like birth and death information and geocoordinates.
@b1rger b1rger marked this pull request as ready for review December 19, 2024 11:09
@b1rger b1rger requested a review from sennierer December 19, 2024 11:09
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