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

embed original ShExC code into converted JSON/RDF? #111

Open
rwst opened this issue Jan 9, 2021 · 2 comments
Open

embed original ShExC code into converted JSON/RDF? #111

rwst opened this issue Jan 9, 2021 · 2 comments

Comments

@rwst
Copy link

rwst commented Jan 9, 2021

Experimenting with a SPARQL endpoint serving Wikidata schemas, I want to have the original ShexC text somehow embedded in the JSON/RDF to be able to get it back. What would be a better solution than simply put a rdfs:comment into the schema block?

@ericprud
Copy link
Contributor

ericprud commented Jan 9, 2021

interesting idea. I've got a ShExJ-to-ShExC converter which takes ShExJ which likes like it was written by a robot and converts it to ShExC written by an impressionist painter. I guess your goal is to not throw away the original string to have a less dadaist feel to your recoverable ShExC.

@rwst
Copy link
Author

rwst commented Jan 10, 2021

The comments in the original are lost too.

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

No branches or pull requests

2 participants