-
Notifications
You must be signed in to change notification settings - Fork 18
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
531 extend symbol predicates #997
Conversation
Deprecate unitSymbol, unitSymbolHtml and unitSymbolUnicode Add symbol triples for existing units.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've suggested what I think are more precise definitions; they could still use more work. We should also settle on whether to put letters and symbols in single quotes or not in the annotations, and apply this consistently.
@@ -0,0 +1,5 @@ | |||
### Minor Updates | |||
|
|||
- Deprecated `gist:unitSymbol`, `gist:unitSymbolHtml` and `gist:unitSymbolUnicode`. Issue [#531](https://github.com/semanticarts/gist/issues/531). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since these are all one issue and a set of interrelated changes, there should be one primary bullet point and sub-bullets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.
Co-authored-by: Rebecca Younes <rebecca.younes@semanticarts.com>
Co-authored-by: Rebecca Younes <rebecca.younes@semanticarts.com>
Co-authored-by: Rebecca Younes <rebecca.younes@semanticarts.com>
Co-authored-by: Rebecca Younes <rebecca.younes@semanticarts.com>
Co-authored-by: Rebecca Younes <rebecca.younes@semanticarts.com>
Co-authored-by: Rebecca Younes <rebecca.younes@semanticarts.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommended changes made.
@rjyounes There is a failed check that I cannot track down. I looked in the ontologyShapes.ttl and property_type_construct.rq files and found no message text that matched. The property, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the rdfs:domain
assertions didn't get removed from the new predicates.
gistCore.ttl
Outdated
|
||
gist:symbolHtml | ||
a owl:DatatypeProperty ; | ||
rdfs:domain gist:UnitOfMeasure ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rdfs:domain gist:UnitOfMeasure ; |
gistCore.ttl
Outdated
|
||
gist:symbolUnicode | ||
a owl:DatatypeProperty ; | ||
rdfs:domain gist:UnitOfMeasure ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rdfs:domain gist:UnitOfMeasure ; |
gistCore.ttl
Outdated
@@ -3840,9 +3852,40 @@ gist:startDateTime | |||
; | |||
. | |||
|
|||
gist:symbol | |||
a owl:DatatypeProperty ; | |||
rdfs:domain gist:UnitOfMeasure ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rdfs:domain gist:UnitOfMeasure ; |
@uscholdm The new symbol predicates don't conform to this shape:
You should put these into gistValidationAnnotations.ttl file - you'll see an example there. BTW, I also noticed that the |
The property mentioned in the error message as being invalid is:
The label is not non-conforming. I tested it against the regex for |
The regex in the
"symbol Unicode" doesn't conform. "symbol HTML" does conform. In your regex tool, doesn't "no match" mean the input string does not match the regex? Which is the result we expect. |
Thanks for that explanation. I misread the regex. Is the regex really what we want? Why rule out capitalized words, they are not that unusual. |
@uscholdm The PR has been approved but has conflicts with |
Fixes #531 .
gist:unitSymbol
,gist:unitSymbolHtml
andgist:unitSymbolUnicode
.gist:symbol
,gist:symbolHtml
andgist:symbolUnicode
.gist:UnitSymbol
.nonConformingLabel
triple forsymbolUnicode
ingistValidationAnnotations.ttl