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

The local names of IRIs generated with the mm:uuidEncode and mm:hashEncode directives should always start with a letter #132

Open
csnyulas opened this issue Mar 13, 2018 · 1 comment
Labels
Status: Needs Checking Indicates that the request requires a checking Status: Needs Further Comment Indicates that the request requires more discussion before committing any changes

Comments

@csnyulas
Copy link
Member

csnyulas commented Mar 13, 2018

The local names of IRIs generated with the mm:uuidEncode or mm:hashEncode directives can start with any hexadecimal digit ([0-9a-f]) (see some examples at the end). Having the local names start with a number can cause problems for different tools parsing or displaying ontologies. We should follow the solution adopted by WebProtege, and prefix the generated local names with a letter (we could use, for example, an "h" for the IRIs generated by hash encoding and a "u" for UUIDs).

Example local names that can be generated by Cellfie at the moment:

bd273e238dc03056fff93c0e1e8de576
2c5f64ab07ccb3e410aa97fc09687cc3
16908b0605f2645dfcb4c3a8d248cef3
d0bb80aabb8619b6e35113f02e72752b

634c9c14-f278-483e-a9e4-6ac296488a1c
b1bf5d63-c13f-4a33-863a-132457c7c896
1fa03695-ab8e-407a-8777-1ca42574f751
df6db73f-ce98-4442-bdd3-b08f41ca767c
@johardi johardi added the Status: Needs Further Comment Indicates that the request requires more discussion before committing any changes label Jun 27, 2019
@johardi
Copy link
Member

johardi commented Jun 27, 2019

Having the local names start with a number can cause problems for different tools parsing or displaying ontologies.

Is this true? I'm under the impression that names in an ontology can start with either a character or number.

@johardi johardi added the Status: Needs Checking Indicates that the request requires a checking label Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Checking Indicates that the request requires a checking Status: Needs Further Comment Indicates that the request requires more discussion before committing any changes
Projects
None yet
Development

No branches or pull requests

2 participants