Skip to content

Change start of NamedIndividuals' suffices to use last path-segment of class's IRI #110

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

Merged
merged 2 commits into from
May 9, 2023

Conversation

ajnelson-nist
Copy link
Member

Please see the first patch's log message for this PR's rationale.

…f class's IRI

While drafting hand-written example data, it had proved beneficial to
some drafters (myself included) to disambiguate `owl:NamedIndividual`s
from `owl:Class`es by spelling the class differently in the IRI.  Taking
`uco-observable:FileFacet` as an example, it was originally frequently
written as `FileFacet` when referring to the class, and `file-facet-...`
when referring to an individual.

Unfortunately, trying to carry this pattern forward is likely to create
a technological burden.  Camel casing can't always be assumed to apply
straightforwardly, and would cause special-case logic to be needed.
See e.g.:

* `uco-observable:WifiAddressFacet` that would split on capital letters
  to `kb:wifi-address-facet`, which doesn't seem to be a problem;
* `uco-location:GPSCoordinatesFacet` would induce
  `kb:g-p-s-coordinates-facet`, which seems far less obviously
  acceptable;
* `uco-observable:HTTPConnectionFacet` splitting to
  `kb:h-t-t-p-connection-facet` may be the last convincing we need.

Rather than invest in preserving the lowercased, hyphenated suffix
scheme, this patch removes the question and now has individuals use the
last path-segment of the class's IRI.

A follow-on patch will regenerate Make-managed files.

Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist ajnelson-nist added this to the 0.11.0 milestone May 4, 2023
@ajnelson-nist ajnelson-nist marked this pull request as ready for review May 4, 2023 20:08
@ajnelson-nist ajnelson-nist requested a review from a team as a code owner May 4, 2023 20:08
@ajnelson-nist
Copy link
Member Author

I think this PR should wait for merging until after the Adoption Committee meeting on 2023-05-09.

@kchason
Copy link
Member

kchason commented May 9, 2023

Discussed and approved in the 2023-05-09 Adoption Committee meeting

@kchason kchason merged commit f6c72ab into develop May 9, 2023
ajnelson-nist added a commit to casework/CASE-Implementation-ExifTool that referenced this pull request May 11, 2023
…f class's IRI

A follow-on patch will regenerate Make-managed files.

References:
* casework/CASE-Utilities-Python#110

Signed-off-by: Alex Nelson <[email protected]>
ajnelson-nist added a commit to casework/CASE-Implementation-ExifTool that referenced this pull request May 11, 2023
@ajnelson-nist ajnelson-nist deleted the change_individuals_suffix_start branch May 11, 2023 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants