-
Notifications
You must be signed in to change notification settings - Fork 8
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
Aggiungere a Graphol il supporto per la definizione DatatypeDefinition #177
Comments
Per essere sicuri, intendi proprio |
Allora io stavo provando a costruire un assioma di questo tipo qui:
La DatatypeRestriction me l'ha fatta fare, ma poi quando provo a definire la DatatypeDefinition va in errore. Forse sto sbagliando io? |
Per come è implementato attualmente, nella figura sopra il nodo
L'eccezione esce fuori quando viene fatta la verifica che le constraining facet connesse al nodo |
Mi sa che hai ragione in effetti. Si può definire una DatatypeRestriction, un datatype custom, ma una DatatypeDefinition mi sa proprio di no. |
Sì secondo me sono due issue distinte:
|
Before this commit, attempting to build an OWL expression of the form: DatatypeRestriction(my:dataType <facet> [<facet]) would result in an exception being thrown due to the fact that for custom datatypes there is no known constraining facet applicable. While it is arguable whether to allow restricting custom datatypes with contraining facets since there is no known facet space defined for the datatype, the thrown exception definetely represents a bug due to the Facet enum not being able to deal with custom datatypes. This commit fixes this behaviour, while taking a relaxed approach on what facets can be applied to custom datatypes, essentially allowing the use of all possible constraining facets since even if this has no clear semantic meaning (hence no reasoning will be possible), it is still syntactically correct. If at a later time we decide that this kind of expression should be forbidden by the syntactic check, it would be enough to simply return an empty set of facets for custom datatypes. See: #177
Il tentativo di costruire un
DatatypeDefinition
(quello in figura) risulta nell'errore che riporto sotto:L'errore viene generato al momento di attaccare l'input edge dal nodo
Datatype
al nodo operatoredata
.The text was updated successfully, but these errors were encountered: