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: add language and datatype support when converting rdflib.terms.… #356

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

Conversation

ticapix
Copy link

@ticapix ticapix commented Jan 1, 2025

Proposal to address linkml/linkml#2475

Without this, it's impossible to convert a Python Instance of a LinkML gen-python class to RDF without loosing language and datatype information.

@ticapix
Copy link
Author

ticapix commented Jan 2, 2025

of course, this PR is broken if we consider that only rdf:langString can have a language tag. https://www.w3.org/TR/rdf12-concepts/#section-Graph-Literal

However, it would still fix the missing datatype tag during conversion.

Any thoughts ?

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