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

Exporters to support Monarch use cases #106

Closed
2 tasks done
joeflack4 opened this issue Mar 12, 2024 · 3 comments · Fixed by #107
Closed
2 tasks done

Exporters to support Monarch use cases #106

joeflack4 opened this issue Mar 12, 2024 · 3 comments · Fixed by #107

Comments

@joeflack4
Copy link

joeflack4 commented Mar 12, 2024

There exist ecosystem some defined formats for prefix maps. It would be nice to have curies exporters for those.

Context: This came up originally in my work in mondo-ingest: monarch-initiative/mondolib#8

@joeflack4
Copy link
Author

@cthoyt You mentioned it might be a good idea to solve problem (1) in either SemanticSQL or curies rather than in Mondo, and I think that's a great idea. Just today I noticed that (2) is another case.

@matentzn
Copy link
Collaborator

I think curies has an exporter for that already, something like converter.to_jsonld() or to_jsonld_context()?

@cthoyt cthoyt changed the title Converter exporters Exporters to support Monarch use cases Mar 13, 2024
@cthoyt
Copy link
Member

cthoyt commented Mar 13, 2024

Indeed, https://curies.readthedocs.io/en/latest/api/curies.write_jsonld_context.html but now I notice it needs some documentation updates

cthoyt added a commit that referenced this issue Mar 13, 2024
Closes #106

1. Adds more docs to JSON-LD export, which supports MONDO Robot use case
2. Adds more docs to SHACL export
3. Implements simple TSV export, which supports SemanticSQL use case
4. Adds section "writing a context" into the tutorial that links to the
writer functions
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 a pull request may close this issue.

3 participants