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

WebProtege sometimes generates IRIs that require custom prefix generation when saving to RDF/XML #18

Closed
matthewhorridge opened this issue Aug 12, 2013 · 0 comments
Assignees
Labels
Type: Enhancement A request for a change that is an enhancement
Milestone

Comments

@matthewhorridge
Copy link
Contributor

Consider the following IRI as a property IRI

http://webprotege.stanford.edu/8gQAvsFVAjAj7tQR77pJGi

If this IRI is used in a property assertion then an RDF/XML serializer has to generate a QName from it (so it's possible to have an XML element name that gets expanded to the IRI on parsing). Because this IRI contains a number directly after the last forward slash a render will have to generate something like http://webprotege.stanford.edu/8 as a prefix (say with the prefix wp) and gQAvsFVAjAj7tQR77pJGi as a non-colonized name so that wp:gQAvsFVAjAj7tQR77pJGi can be generated as a QName. This can get quite yucky and should probably be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement A request for a change that is an enhancement
Projects
None yet
Development

No branches or pull requests

1 participant