-
Notifications
You must be signed in to change notification settings - Fork 3
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
Validate user entry of URI in the OWL properties #57
Comments
API and/or UI need to validate the user's input to make sure a valid URI is entered for those fields. |
fixed by ncbo/goo#138 and ncbo/goo#139 |
Always great to see, old issues being fixed. |
@syphax-bouazzouni Thanks for the tip! |
fix formatting issue with displaying errors. #57
URI do not get encoded properly (or validated) when users edit OWL ontology properties.
For example, users mistakenly put their names instead of URI into preferred name property. This data gets saved into triple store in the following manner:
<http://data.bioontology.org/ontologies/ACRONYM/submissions/1> <http://data.bioontology.org/metadata/authorProperty> <local:Firstname\u0020\Lastname> .
<http://data.bioontology.org/ontologies/ACRONYM/submissions/5> <http://data.bioontology.org/metadata/prefLabelProperty> <local:My Ontology Name> .
This creates problems for us when metadata graph is imported back into the triple store:
URI http://data.bioontology.org/metadata/OntologySubmission:8009 raptor error - Turtle URI error - illegal Unicode escape \u0020 in URI.
The text was updated successfully, but these errors were encountered: